This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23828] local calling convention not used when using -fwhole-program --combine
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2005 22:49:04 -0000
- Subject: [Bug middle-end/23828] local calling convention not used when using -fwhole-program --combine
- References: <20050912014301.23828.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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