[Bug c++/28677] [4.0/4.1 regression] Function prototype in function body crashes compilation

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 10 23:26:00 GMT 2006



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-08-10 23:25 -------
(In reply to comment #9) 
>     http://gcc.gnu.org/viewcvs?view=rev&rev=83405

Not really, it was this part that caused it:
        * name-lookup.c (pushdecl): When a local extern shadows a
        file-scope declaration of the same object, give both DECLs the
        same DECL_UID.

Which I was semi expecting.
And this is related to PR 16792.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |16792


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



More information about the Gcc-bugs mailing list