This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14960] -maltivec affects vector return with -mabi=no-altivec
- From: "aldyh at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Apr 2004 10:55:05 -0000
- Subject: [Bug target/14960] -maltivec affects vector return with -mabi=no-altivec
- References: <20040414231341.14960.janis187@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From aldyh at redhat dot com 2004-04-19 10:55 -------
Subject: Re: -maltivec affects vector return with -mabi=no-altivec
> Yes, this is a bug. Looks to me, that rs6000_function_arg has a wrong check.
> I think, we should check for TARGET_ALTIVEC_ABI instead of TARGET_ALTIVEC,
> when we decide how to pass return value.
Hartmut. This patch is OK. Please submit it to gcc-patches and
commit it as preapproved by me. Then close the PR.
Thank you.
Aldy
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14960