Commit c4c4983e by Sebastian Pop Committed by Sebastian Pop

re PR middle-end/42930 ([graphite] crash when compiling scummvm on Ubuntu…

re PR middle-end/42930 ([graphite] crash when compiling scummvm on Ubuntu 9.10/amd64 with -floop-block)

Fix PR42930.

2010-02-10  Sebastian Pop  <seb@napoca>

	PR middle-end/42930
	* graphite-scop-detection.c (graphite_can_represent_scev): Call
	graphite_can_represent_init for MULT_EXPR.

From-SVN: r156713
parent a4681954
2010-02-10 Sebastian Pop <seb@napoca>
PR middle-end/42930
* graphite-scop-detection.c (graphite_can_represent_scev): Call
graphite_can_represent_init for MULT_EXPR.
2010-02-10 Sebastian Pop <seb@napoca>
PR middle-end/42914
PR middle-end/42530
* graphite-sese-to-poly.c (remove_phi): New.
......
......@@ -225,6 +225,7 @@ graphite_can_represent_scev (tree scev, int outermost_loop)
&& !CONVERT_EXPR_CODE_P (TREE_CODE (TREE_OPERAND (scev, 1)))
&& !(chrec_contains_symbols (TREE_OPERAND (scev, 0))
&& chrec_contains_symbols (TREE_OPERAND (scev, 1)))
&& graphite_can_represent_init (scev)
&& graphite_can_represent_scev (TREE_OPERAND (scev, 0), outermost_loop)
&& graphite_can_represent_scev (TREE_OPERAND (scev, 1), outermost_loop);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment