[Bug c++/57887] nested non-type template parameters not declared in this scope

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 14 20:17:00 GMT 2013


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

--- Comment #6 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Nov 14 20:16:51 2013
New Revision: 204818

URL: http://gcc.gnu.org/viewcvs?rev=204818&root=gcc&view=rev
Log:
/cp
2013-11-14  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/57887
    * parser.c (cp_parser_late_parsing_nsdmi): Call
    maybe_begin_member_template_processing.
    * pt.c (maybe_begin_member_template_processing): Handle NSDMIs.
    (inline_needs_template_parms): Adjust.

/testsuite
2013-11-14  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/57887
    * g++.dg/cpp0x/nsdmi-template3.C: New.
    * g++.dg/cpp0x/nsdmi-template4.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-template3.C
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-template4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list