This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12081] Gcc can't be compiled with -mregparm=3
- From: "pinskia at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Oct 2007 23:22:09 -0000
- Subject: [Bug target/12081] Gcc can't be compiled with -mregparm=3
- References: <bug-12081-1600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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