PR c++/42386
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Dec 2009 19:29:48 +0000 (19:29 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Dec 2009 19:29:48 +0000 (19:29 +0000)
commit0ca9d0092a132029117b381ef2a7f3c222f5ad40
treea04291e9f2a139e5a1341ab2888846bb997dd2d3
parent8fad942ec20632192691c703a40c2ab1a20d97ec
PR c++/42386
* ipa.c (function_and_variable_visibility): Clear same_comdat_group
links of DECL_EXTERNAL nodes.

* g++.dg/opt/dtor3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155321 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/dtor3.C [new file with mode: 0644]