]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/36460 (No space between >'s not always handled in C++0x)
authorDouglas Gregor <doug.gregor@gmail.com>
Wed, 6 Aug 2008 19:08:12 +0000 (19:08 +0000)
committerDoug Gregor <dgregor@gcc.gnu.org>
Wed, 6 Aug 2008 19:08:12 +0000 (19:08 +0000)
commit865a3a421ada308194ab5960e4931fa09c3c68ad
tree9c00222f32383f6e7a60ef225649e796d310d8aa
parent2696a995839501cf16495ff72f2a0bbc7cc0b72b
re PR c++/36460 (No space between >'s not always handled in C++0x)

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.

From-SVN: r138819
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/bracket3.C
gcc/testsuite/g++.dg/cpp0x/bracket4.C