------- Additional Comments From pinskia at physics dot uc dot edu 2005-09-13 22:49 ------- Subject: Re: local calling convention not used when using -fwhole-program --combine
On Sep 13, 2005, at 6:36 PM, dann at godzilla dot ics dot uci dot edu wrote: > > ------- Additional Comments From dann at godzilla dot ics dot uci dot > edu 2005-09-13 22:36 ------- > It looks like the -fwhole-program version of ClearLeft only passes the > first 2 arguments to the ClearInLine call in register, the 3rd one is > passed on the stack. > The reason for that is this code in i386.c:ix86_function_regparm: Maybe a better check would be check in the decl's function struct's field static_chain_decl is set. -- Pinski -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23828