2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com>
gcc/
PR tree-optimization/61391
* tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
stmt belongs to loop.
gcc/testsuite/
* gcc.dg/torture/pr61391.c: New test.
From-SVN: r211263
+2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com>
+
+ PR tree-optimization/61319
+ * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that
+ stmt belongs to loop.
+
2014-06-05 Richard Biener <rguenther@suse.de>
* gimplify.c (create_tmp_from_val): Remove is_formal parameter
+2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com>
+
+ * gcc.dg/torture/pr61319.c: New test.
+
2014-06-05 Marek Polacek <polacek@redhat.com>
PR c/56724
--- /dev/null
+/* { dg-do compile } */
+
+short int u;
+int h;
+int i;
+
+void
+p(void)
+{
+ int c[2] = { 0 };
+ for (h = 0; h < 2; ++h) {
+ static int *l = &h;
+ int t;
+ int n;
+ for (t = 0; t < 7; ++t)
+ c[0] = (i & -(short int)(c[h+1] || (u = -(n != *l))) || c[h+1]);
+ }
+}
|| gimple_has_volatile_ops (stmt))
return false;
+ if (!flow_bb_inside_loop_p (loop, gimple_bb (stmt)))
+ return false;
+
if (!is_predicated (gimple_bb (stmt)))
return false;