re PR c++/36655 (unjustified warning for "extern template" when using -pedantic ...
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 27 Jun 2008 20:45:25 +0000 (20:45 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 27 Jun 2008 20:45:25 +0000 (20:45 +0000)
commita7235bfbb1bc521f11932a917de5ce70c69f821b
tree775a4b1317d2b7d753237f7da1d869ba65dc497f
parentca2b131143a3195e603493aadd0a0b4a18ad737f
re PR c++/36655 (unjustified warning for "extern template" when using -pedantic -std=c++0x)

/cp
2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/36655
* pt.c (do_decl_instantiation): In c++0x mode do not warn for
extern template.

/testsuite
2008-06-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/36655
* g++.dg/cpp0x/extern_template.C: New.

From-SVN: r137200
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/extern_template.C [new file with mode: 0644]