This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36655] unjustified warning for "extern template" when using -pedantic -std=c++0x



------- Comment #7 from paolo at gcc dot gnu dot org  2008-06-29 21:45 -------
Subject: Bug 36655

Author: paolo
Date: Sun Jun 29 21:44:57 2008
New Revision: 137261

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137261
Log:
/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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/extern_template-1.C
      - copied unchanged from r137251,
trunk/gcc/testsuite/g++.dg/cpp0x/extern_template.C
    trunk/gcc/testsuite/g++.dg/cpp0x/extern_template-2.C
Removed:
    trunk/gcc/testsuite/g++.dg/cpp0x/extern_template.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36655


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]