This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug target/14960] -maltivec affects vector return with-mabi=no-altivec


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]