re PR middle-end/41611 (guard variable is emitted even when the guarded symbol isn't)
authorJason Merrill <jason@redhat.com>
Tue, 1 Dec 2009 21:58:04 +0000 (16:58 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 1 Dec 2009 21:58:04 +0000 (16:58 -0500)
commit0735734176743fd6bb677405ba515bc0d388ca9e
treec42ee149769501f86bccda8c4b55a1d89c5c6616
parente4ad8df0861419f3c884316983e910dec62f0950
re PR middle-end/41611 (guard variable is emitted even when the guarded symbol isn't)

PR c++/41611
* decl2.c (get_guard): Copy DECL_COMDAT.
(comdat_linkage): Set DECL_COMDAT unconditionally.

From-SVN: r154885
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/guard1.C [new file with mode: 0644]