re PR c++/20206 (COMDAT broken for C++ thunks)
authorJakub Jelinek <jakub@redhat.com>
Sun, 27 Feb 2005 17:13:28 +0000 (18:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 27 Feb 2005 17:13:28 +0000 (18:13 +0100)
commit5591e5f9af6f09455a1f11d8e822785e34647186
tree0b34545a616ee8b201346e4bd42a36e316bf09ae
parentc0d127129367344cefe9efcd3f0f232ce1df3447
re PR c++/20206 (COMDAT broken for C++ thunks)

PR c++/20206
* decl.c (cxx_comdat_group): Put thunks for
TARGET_USE_LOCAL_THUNK_ALIAS_P (function) functions into the same
comdat group as the thunk target.

* g++.dg/opt/thunk2.C: New test.
* g++.dg/opt/covariant1.C: New test.

From-SVN: r95619
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/covariant1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/thunk2.C [new file with mode: 0644]