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 middle-end/23828] local calling convention not used when using -fwhole-program --combine


------- Additional Comments From pinskia at physics dot uc dot edu  2005-09-13 22:41 -------
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:

>
> But the above just fixes the symptoms, it's probably not the correct
> way to test for a nested function.

DECL_NO_STATIC_CHAIN (decl) should be true for this function but
why is it not?


/* In a FUNCTION_DECL with a nonzero DECL_CONTEXT, indicates that a
    static chain is not needed.  */
#define DECL_NO_STATIC_CHAIN(NODE) \
   (FUNCTION_DECL_CHECK (NODE)->function_decl.regdecl_flag)

-- Pinski



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23828


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