------- 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