summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ChangeLog.graphite5
-rw-r--r--gcc/graphite-poly.c6
3 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8ae720a4cf8..24655afb669 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2010-09-30 Sebastian Pop <sebastian.pop@amd.com>
+ * graphite-poly.c (apply_poly_transforms): Do not abort when the
+ transform read from disk is not legal. Call fatal_error instead.
+
+2010-09-30 Sebastian Pop <sebastian.pop@amd.com>
+
* graphite-poly.c (print_pbb_body): Add missing closing parenthesis.
(print_scop_header): Removed. Inlined in the only call place...
(print_scop): ... here.
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 99d4204f5c8..313869c5517 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,5 +1,10 @@
2010-09-09 Sebastian Pop <sebastian.pop@amd.com>
+ * graphite-poly.c (apply_poly_transforms): Do not abort when the
+ transform read from disk is not legal. Call fatal_error instead.
+
+2010-09-09 Sebastian Pop <sebastian.pop@amd.com>
+
* graphite-poly.c (print_pbb_body): Add missing closing parenthesis.
(print_scop_header): Removed. Inlined in the only call place...
(print_scop): ... here.
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index 46f197159b4..08a7a91d7ef 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -753,7 +753,11 @@ apply_poly_transforms (scop_p scop)
{
graphite_file = init_graphite_in_file (file_scop_number);
transform_done |= graphite_read_scop_file (graphite_file, scop);
- gcc_assert (graphite_legal_transform (scop));
+
+ if (!graphite_legal_transform (scop))
+ fatal_error ("the graphite file read for scop %d does not contain a legal transform",
+ (int) file_scop_number);
+
file_scop_number++;
}