This is a multi-part message in MIME format. --------------2.2.0.1.gd394abb.dirty Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
Hi, PR68232 is a testsuite failure for targets with very low branch costs. As the test is looking for if-conversion, it will fail for any subtarget for which the cost of a branch is sufficiently low that if-conversion looks more expensive. In the current implementation this will be any subtarget with an unpredictable branch cost of 0 or 1. I had thought this would be very few targets, but at least powerpc64le and arm can trigger this for particular tuning targets. This patch skips the test on those targets. OK? Thanks, James --- 2015-12-17 James Greenhalgh <james.greenha...@arm.com> PR testsuite/68232 * gcc.dg/ifcvt-4.c: Skip for arm*-*-* and powerpc64le*-*-*. --------------2.2.0.1.gd394abb.dirty Content-Type: text/x-patch; name="0001-Patch-testsuite-Skip-gcc.dg-ifcvt-4.c-for-targets-on.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Patch-testsuite-Skip-gcc.dg-ifcvt-4.c-for-targets-on.patch" diff --git a/gcc/testsuite/gcc.dg/ifcvt-4.c b/gcc/testsuite/gcc.dg/ifcvt-4.c index 16be2b0..e1c81fb 100644 --- a/gcc/testsuite/gcc.dg/ifcvt-4.c +++ b/gcc/testsuite/gcc.dg/ifcvt-4.c @@ -1,4 +1,6 @@ /* { dg-options "-fdump-rtl-ce1 -O2" } */ +/* { dg-skip-if "Multiple set if-conversion not guaranteed on all subtargets" { "arm*-*-* powerpc64le*-*-*" } {"*"} { "" } } */ + int foo (int x, int y, int a) { --------------2.2.0.1.gd394abb.dirty--