This is the mail archive of the gcc-bugs@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]

[Bug target/12081] Gcc can't be compiled with -mregparm=3



------- Comment #8 from pinskia at gmail dot com  2007-10-27 23:22 -------
Subject: Re:  Gcc can't be compiled with -mregparm=3

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081


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