[Bug testsuite/68232] gcc.dg/ifcvt-4.c fails on some arm configurations

pthaugen at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 5 19:26:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68232

--- Comment #6 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
(In reply to James Greenhalgh from comment #5)
> "Fixed" with the testsuite skips. Feel free to add any other target triplets
> for which this test is unreliable.

I was going to modify the powerpc64le triplet to just powerpc*-*-* since it
also fails for powerpc64 (big endian) and powerpc-ibm-aix, but looking at
gcc/config/rs6000/rs6000.h, it has BRANCH_COST defined to a non-zero value:

#define BRANCH_COST(speed_p, predictable_p) 3


So there must be something more than just "doesn't work for targets with branch
cost == 0". I'm still happy to make the change if there are other reasons, but
didn't want to do so without hearing first.


More information about the Gcc-bugs mailing list