This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug target/12081] Gcc can't be compiled with -mregparm=3
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 27 Oct 2007 16:22:03 -0700
- Subject: Re: [Bug target/12081] Gcc can't be compiled with -mregparm=3
- References: <bug-12081-1600@http.gcc.gnu.org/bugzilla/> <20071027231657.25840.qmail@sourceware.org>
On 27 Oct 2007 23:16:57 -0000, rask at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> Please give this patch a try. I need it to build GCC with OpenWatcom, which
> wants parameters on the stack by default.
I think this makes some worse code in some cases. Var-args is very
bad for code generation on targets where argments are passed via
registers (almost all RISC and IA64).
-- Pinski