re PR c++/36655 (unjustified warning for "extern template" when using -pedantic ...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 29 Jun 2008 21:44:57 +0000 (21:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 29 Jun 2008 21:44:57 +0000 (21:44 +0000)
commit1ffe7b6ed2dceb878c8f35c9bc3560eaf01b5cf8
tree0fdca0584aafd19991357668f83408d0525523bb
parent323ff9033223ed7c7b3ec10f2dfb61985fb55884
re PR c++/36655 (unjustified warning for "extern template" when using -pedantic -std=c++0x)

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

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

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

PR c++/36655
* g++.dg/cpp0x/extern_template-2.C: New.
* g++.dg/cpp0x/extern_template.C: Rename to...
* g++.dg/cpp0x/extern_template-1.C: ... this.

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