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.

From-SVN: r176837
This commit is contained in:
Sebastian Pop 2011-07-27 16:53:02 +00:00 committed by Sebastian Pop
parent bd4a54da00
commit 27165eddf6
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.
2011-07-27 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/47691

View File

@ -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);