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 dann at godzilla dot ics dot uci dot edu  2005-09-13 22:57 -------
(In reply to comment #6)
> Maybe a better check would be check in the decl's function struct's 
> field
> static_chain_decl is set.

I am not sure I understand what you mean here... 

Maybe adding a test like this
TREE_CODE (DECL_CONTEXT (decl)) == FUNCTION_DECL)
should work.

-- 


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]