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 #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


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