[Bug c++/82737] [ICE] Compiler segfault on compilation of a certain file (full cause unknown) (file too large for upload, link provided)

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 13 15:49:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82737

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|marxin at gcc dot gnu.org          |nathan at gcc dot gnu.org

--- Comment #21 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
yeah, I messed up.  I had presumed that once set, DECL_ASSEMBLER_NAME does not
change.  That is untrue.
In this case it's even worse, in that DECL_ASSEMBLER_NAME is set on a new decl
that duplicate_decl then deletes.  This is a latent bug that never triggered on
the old code, but would have left the global namespace pointing at dead
storage.


More information about the Gcc-bugs mailing list