re PR lto/53808 (Undefined symbol when building a library with lto)
authorJason Merrill <jason@redhat.com>
Wed, 30 Jul 2014 21:29:25 +0000 (17:29 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 30 Jul 2014 21:29:25 +0000 (17:29 -0400)
commite00f67c6e04054bfcb860f31844a0007d5200d9c
tree0bee47504df3b88b73391824c6a036eace8b5860
parent5b9802c45c2c0cfe93d261518e5ca466197cbf8f
re PR lto/53808 (Undefined symbol when building a library with lto)

PR lto/53808
PR c++/61659
* pt.c (push_template_decl_real): Don't set DECL_COMDAT on friends.

From-SVN: r213311
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/template/friend56.C [new file with mode: 0644]