[Bug target/14960] -maltivec affects vector return with -mabi=no-altivec
Zack Weinberg
zack@codesourcery.com
Mon Apr 19 15:59:00 GMT 2004
Hartmut Penner <HPENNER@de.ibm.com> writes:
> Alan Modra wrote:
>> I've been playing in this area today, and found you need to test
>> _both_ TARGET_ALTIVEC and TARGET_ALTIVEC_ABI. Otherwise, I had
>> testsuite failures, first one being gcc.c-torture/compile/930623-1.c
>
>> Have you run a full regression test?
>
> I did now a regression run for ppc64 and did not get the regression you
> mentioned (did not get any). But I think you are right, we should check
> for both. I will do a full bootstrap and regtest with a patch checking
> both.
Does it ever make sense for TARGET_ALTIVEC_ABI to be true when
TARGET_ALTIVEC is false? If not, why not force the former off when
the latter is not set? Then code need only check the one.
zw
More information about the Gcc-patches
mailing list