Hi!

As mentioned in the PR, this is a test new in GCC 6, that relies on rtx
costs to be right to succeed, and on i?86 (32-bit) they are not right.
While the costs look weird on i?86, it is cost code in generic code, and I'm
afraid changing those is too risky now so late in stage3, so I'm just
proposing to restrict this test to the architectures where it is known to
pass right now.

Tested on x86_64-linux and i686-linux, ok for trunk?

2016-01-11  Jakub Jelinek  <ja...@redhat.com>

        PR target/67462
        * gcc.dg/ifcvt-3.c: Only compile on lp64 targets, include also i?86
        if lp64.

--- gcc/testsuite/gcc.dg/ifcvt-3.c.jj   2015-09-03 17:18:33.000000000 +0200
+++ gcc/testsuite/gcc.dg/ifcvt-3.c      2016-01-09 09:05:42.234836729 +0100
@@ -1,4 +1,4 @@
-/* { dg-do compile { target aarch64*-*-* x86_64-*-* }  } */
+/* { dg-do compile { target { { aarch64*-*-* i?86-*-* x86_64-*-* } && lp64 } } 
} */
 /* { dg-options "-fdump-rtl-ce1 -O2" } */
 
 typedef long long s64;

        Jakub

Reply via email to