2016-05-20 Richard Biener <rguenther@suse.de>
PR tree-optimization/71185
* tree-ssa-loop-prefetch.c (gather_memory_references): Drop
register operations.
* gcc.dg/tree-ssa/pr71185.c: New testcase.
From-SVN: r236499
+2016-05-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/71185
+ * tree-ssa-loop-prefetch.c (gather_memory_references): Drop
+ register operations.
+
2016-05-20 Richard Biener <rguenther@suse.de>
* tree-if-conv.c (add_bb_predicate_gimplified_stmts): Use
+2016-05-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/71185
+ * gcc.dg/tree-ssa/pr71185.c: New testcase.
+
2016-05-20 Richard Biener <rguenther@suse.de>
* gcc.dg/tree-ssa/ifc-cd.c: Adjust.
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O3" } */
+/* { dg-options "-O3 -march=barcelona" { target x86_64-*-* i?86-*-* } } */
+
+union U { struct S { int l; int m; } p; long long a; } b;
+int a, c;
+
+void
+foo ()
+{
+ for (; b.p.m; b.a += c)
+ a = b.p.l / 65536.0 * 65536.0;
+}
continue;
}
+ if (! gimple_vuse (stmt))
+ continue;
+
lhs = gimple_assign_lhs (stmt);
rhs = gimple_assign_rhs1 (stmt);