[Bug c++/60249] [c++11] Compiler goes into semi-infinite loop with wrong usage of user defined string literals
emsr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 1 05:31:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60249
--- Comment #12 from emsr at gcc dot gnu.org ---
Author: emsr
Date: Tue Jul 1 05:30:34 2014
New Revision: 212188
URL: https://gcc.gnu.org/viewcvs?rev=212188&root=gcc&view=rev
Log:
cp/
2014-06-28 Edward Smith-Rowland <3dw4rd@verizon.net>
PR c++/58781
PR c++/60249
PR c++/59867
* parser.c (cp_parser_userdef_string_literal()): Take a tree
not a cp_token*. (cp_parser_string_literal(): Don't hack
the token stream!
testsuite/
2014-06-28 Edward Smith-Rowland <3dw4rd@verizon.net>
PR c++/58781
PR c++/60249
PR c++/59867
* testsuite/g++.dg/cpp0x/pr58781.C: New.
* testsuite/g++.dg/cpp0x/pr60249.C: New.
* testsuite/g++.dg/cpp1y/pr59867.C: New.
Added:
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/pr58781.C
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp0x/pr60249.C
branches/gcc-4_9-branch/gcc/testsuite/g++.dg/cpp1y/pr59867.C
Modified:
branches/gcc-4_9-branch/gcc/cp/ChangeLog
branches/gcc-4_9-branch/gcc/cp/parser.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list