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

Reply via email to