------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-14 05:16 ------- (In reply to comment #0) > if ((DECL_CONTEXT (decl) && TREE_CODE (DECL_CONTEXT (decl)) > == FUNCTION_DECL)
One more thing is that the DECL_CONTEXT at the point where we call the function to add the attribute. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23876