gcc/
2010-11-29 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
PR middle-end/46651
2010-07-22 Sebastian Pop <sebastian.pop@amd.com>
* graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Use
SSA_NAME_DEF_STMT only on SSA_NAMEs.
gcc/testsuite/
2010-11-29 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline
2010-07-22 Sebastian Pop <sebastian.pop@amd.com>
PR middle-end/46651
* gcc.dg/graphite/id-24.c: New.
From-SVN: r167274
+2010-11-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from mainline
+ PR middle-end/46651
+ 2010-07-22 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Use
+ SSA_NAME_DEF_STMT only on SSA_NAMEs.
+
2010-11-29 Zdenek Dvorak <rakdver@kam.uniff.cz>
PR tree-optimization/46675
/* Avoid the insertion of code in the loop latch to please the
pattern matching of the vectorizer. */
- if (e->src == bb->loop_father->latch)
+ if (TREE_CODE (arg) == SSA_NAME
+ && e->src == bb->loop_father->latch)
insert_out_of_ssa_copy (zero_dim_array, arg);
else
insert_out_of_ssa_copy_on_edge (e, zero_dim_array, arg);
+2010-11-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from mainline
+ 2010-07-22 Sebastian Pop <sebastian.pop@amd.com>
+
+ PR middle-end/46651
+ * gcc.dg/graphite/id-24.c: New.
+
2010-11-29 Richard Guenther <rguenther@suse.de>
Zdenek Dvorak <rakdver@kam.uniff.cz>
--- /dev/null
+/* gcc.dg/tree-ssa/loadpre23.c used to ICE with Graphite. */
+
+struct {
+ int a;
+ int large[100];
+} x;
+
+int foo(int argc)
+{
+ int b;
+ int c;
+ int i;
+ int d, e;
+
+ for (i = 0; i < argc; i++)
+ {
+ e = x.a;
+ x.a = 9;
+ }
+ return d + e;
+}
+