2016-04-12 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/68756
* graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr
instead of new_name.
* gcc.dg/graphite/pr68756.c: New test.
From-SVN: r234896
+2016-04-12 Tom de Vries <tom@codesourcery.com>
+
+ PR tree-optimization/68756
+ * graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr
+ instead of new_name.
+
2016-04-12 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/70602
fprintf (dump_file, "\n");
}
gsi_insert_earliest (stmts);
- new_phi_args [i] = new_name;
+ new_phi_args[i] = new_expr;
continue;
}
+2016-04-12 Tom de Vries <tom@codesourcery.com>
+
+ PR tree-optimization/68756
+ * gcc.dg/graphite/pr68756.c: New test.
+
2016-04-12 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/70602
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O1 -floop-nest-optimize" } */
+
+unsigned int z4, pz;
+int nn[2];
+
+static unsigned int
+xq (unsigned int dj)
+{
+ return dj > 1 ? z4 : z4 + dj;
+}
+
+void
+la (void)
+{
+ int hd, dl;
+ unsigned int hn = 0;
+
+ for (hd = 0; hd < 2; ++hd)
+ {
+ for (dl = 0; dl < 2; ++dl)
+ nn[dl] = 0;
+ --hn;
+ pz = xq (hn);
+ }
+}