OSDN Git Service

2009-02-24 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Feb 2009 14:50:30 +0000 (14:50 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Feb 2009 14:50:30 +0000 (14:50 +0000)
commitd15d3fec05eb6b32092573d2862487cf44d873af
tree7e1b1c01b30c4eed53ee4993e2a3550c5494a08b
parentdbc4ace16e00116907c6c1868de857c167fcb36a
2009-02-24  Richard Guenther  <rguenther@suse.de>

PR c++/39242
* pt.c (instantiate_decl): Do not instantiate extern, non-inline
declared functions.

* g++.dg/template/instantiate10.C: New testcase.

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