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: "sam at rfc1149 dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Oct 2007 14:42:40 -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 #14 from sam at rfc1149 dot net 2007-10-28 14:42 -------
Rask,
is your patch supposed to help with testcase presented in comment #6? It looks
like I still get "f" waiting (as expected) for arguments in registers when I
use -mregparm=3 while the call through g still uses the stack:
main:
[...]
subl $8, %esp
movl $2, 4(%esp)
movl $1, (%esp)
call f
(GCC at SVN/trunk 129695 + your patch)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12081