Hi!

This testcase ICEs on aarch64 at -O2 on the 4.8 branch, got fixed with
PR52714 fix (r208204).

Is the testcase ok for trunk?  Tested on x86_64-linux and i686-linux.

2016-06-15  Jakub Jelinek  <ja...@redhat.com>

        * gcc.c-torture/compile/20160615-1.c: New test.

--- gcc/testsuite/gcc.c-torture/compile/20160615-1.c.jj 2016-06-15 
11:17:54.690689056 +0200
+++ gcc/testsuite/gcc.c-torture/compile/20160615-1.c    2016-06-15 
11:17:48.811765657 +0200
@@ -0,0 +1,10 @@
+int a;
+void bar (int, unsigned, unsigned);
+
+void
+foo (unsigned x)
+{
+  unsigned b = a ? x : 0;
+  if (x || b)
+    bar (0, x, b);
+}

        Jakub

Reply via email to