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++/36460] No space between >'s not always handled in C++0x



------- Comment #6 from dgregor at gcc dot gnu dot org  2008-08-06 19:09 -------
Subject: Bug 36460

Author: dgregor
Date: Wed Aug  6 19:08:12 2008
New Revision: 138819

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138819
Log:
2008-08-06  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/36460
       * parser.c (cp_parser_template_argument): Don't assume that '>>'
       following a type-id is an error when in C++0x mode.

2008-08-06  Douglas Gregor  <doug.gregor@gmail.com>

       PR c++/36460
       * g++.dg/cpp0x/bracket3.C: Add another test case for the >>
       warning under -Wc++0x-compat.
       * g++.dg/cpp0x/bracket4.C: Add testcase for PR c++/36460.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/cpp0x/bracket3.C
    trunk/gcc/testsuite/g++.dg/cpp0x/bracket4.C


-- 


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


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