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

--- Comment #11 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
>> On a powerpc-elf standard build, TARGET_POWERPC64 is enabled, but
>> TARGET_64BIT isn't, and so gcc.target/powerpc/byte-in-set-2.c fails
>> to compile with an ICE (instruction not recognized) instead of the
>> expected error.

> That powerpc-elf enables TARGET_POWERPC64 smells like a bug to me as well, 
> but not knowing who/what uses that target triplet, I cannot say for certain.  
> Segher & Mike, do you agree that powerpc-elf should not be enabling 
> TARGET_POWERPC64 by default?  This does not happen on a powerpc-linux build.

Sorry, I had misdiagnosed, at the time of the report, the reason for
-mpowerpc64 to be enabled; I later found out it was just the presence of a
powerpc64-enabled -mdejagnu-cpu in the testcase that enabled it, the default
cpu for ppc-elf doesn't enable it.  (Nevertheless, many other tests needed
-mno-powerpc64 to get the expected ilp32 results on ppc-elf, also because of
-mdejagnu-cpu options; patch to be submitted shortly).

Reply via email to