re PR c++/61623 (ICE: verify_symtab failed: Two symbols with same comdat_group are...
commitc6f884c0e075196f9770f466fec2a2e507a1c909
authorJason Merrill <jason@redhat.com>
Thu, 17 Jul 2014 00:34:02 +0000 (16 20:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 17 Jul 2014 00:34:02 +0000 (16 20:34 -0400)
tree6d369338ec0b7df748d9b91437361c0aa0a0c991
parent5005cc79c7ec5e7be909c8ed651ee5b26732cee8
re PR c++/61623 (ICE: verify_symtab failed: Two symbols with same comdat_group are not linked by the same_comdat_group list.)

PR c++/61623
* symtab.c (symtab_remove_from_same_comdat_group): Also
set_comdat_group to NULL_TREE.
(verify_symtab): Fix diagnostic.

From-SVN: r212705
gcc/ChangeLog
gcc/symtab.c
gcc/testsuite/g++.dg/opt/declone2.C [new file with mode: 0644]