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++/51911] [C++11] G++ accepts new auto { list }


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51911

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Sep 14 15:25:00 2015
New Revision: 227753

URL: https://gcc.gnu.org/viewcvs?rev=227753&root=gcc&view=rev
Log:
/cp
2015-09-14  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/51911
        * parser.c (cp_parser_new_expression): Enforce 5.3.4/2 (as amended
        per the spirit of DR 1467).

/testsuite
2015-09-14  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/51911
        * g++.dg/cpp0x/new-auto1.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/new-auto1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


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