summaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-27 16:53:02 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-27 16:53:02 +0000
commitc71f56cea05324f042650d0459b47dca70458469 (patch)
tree31794088544dbcb7d41c78873f315d64c02f78e2 /gcc/graphite-poly.c
parent1034b7193916f1d6ca392b8ae239160da04955e0 (diff)
downloadgcc-c71f56cea05324f042650d0459b47dca70458469.tar.gz
PR45450: disable legality check after an openscop read
2011-07-27 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/45450 * graphite-poly.c (apply_poly_transforms): Disable legality check after an openscop read. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176837 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r--gcc/graphite-poly.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index bfdbc9f3af4..db5b0cbf3ad 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -738,7 +738,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);
- if (!graphite_legal_transform (scop))
+ /* We cannot check for the legality of the transform here: there
+ are cases where graphite_legal_transform cannot determine the
+ dependence at compile time. For an example, see the
+ explanation of why http://gcc.gnu.org/PR45450 is invalid. */
+ if (0 && !graphite_legal_transform (scop))
fatal_error ("the graphite file read for scop %d does not contain a legal transform",
(int) file_scop_number);