[Bug middle-end/23828] local calling convention not used when using -fwhole-program --combine
Andrew Pinski
pinskia@physics.uc.edu
Tue Sep 13 22:48:00 GMT 2005
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
More information about the Gcc-bugs
mailing list