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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2012-08-23
         AssignedTo|unassigned at gcc dot       |jakub at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-23 
11:24:36 UTC ---
Created attachment 28068
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28068
gcc48-pr54355.patch

Untested fix.

While for the nested case c_push_function_context/c_pop_function_context around
start_function restores the globals on failure, for the !nested case which
includes extern fn decls (or suspected extern fn decls) nothing restores them.

Reply via email to