* gcc.c-torture/compile/pr61042.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217740
138bc75d-0d04-0410-961f-
82ee72b054a4
+2014-11-18 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/61042
+ * gcc.c-torture/compile/pr61042.c: New test.
+
2014-11-18 Maciej W. Rozycki <macro@codesourcery.com>
* gcc.dg/atomic/c11-atomic-exec-5.c (dg-timeout-factor): New
--- /dev/null
+/* PR tree-optimization/61042 */
+
+int a, b, c[1], d, f;
+
+void
+foo ()
+{
+ for (; b; b++)
+ c[0] = c[f] && (d = a);
+}