[Bug c++/28301] [4.3/4.4/4.5 regression] ICE with broken specialization
hjl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 10 19:01:00 GMT 2009
------- Comment #10 from hjl at gcc dot gnu dot org 2009-04-10 19:01 -------
Subject: Bug 28301
Author: hjl
Date: Fri Apr 10 19:01:16 2009
New Revision: 145938
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145938
Log:
gcc/cp/
2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-04-10 Jason Merrill <jason@redhat.com>
PR c++/28301
* parser.c (cp_parser_skip_to_end_of_block_or_statement): Return
if we see a close brace without an open brace.
gcc/testsuite/
2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
2009-04-10 H.J. Lu <hongjiu.lu@intel.com>
PR c++/28301
* g++.dg/cpp0x/enum2.C: Updated.
* g++.dg/debug/pr22514.C: Likewise.
* g++.dg/parse/enum2.C: Likewise.
* g++.dg/parse/enum3.C: Likewise.
* g++.dg/template/crash79.C: Likewise.
* g++.old-deja/g++.jason/cond.C: Likewise.
* g++.dg/template/pr28301.C: New.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/pr28301.C
- copied unchanged from r145937,
trunk/gcc/testsuite/g++.dg/template/pr28301.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/parser.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/enum2.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/debug/pr22514.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/enum2.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/enum3.C
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/crash79.C
branches/gcc-4_4-branch/gcc/testsuite/g++.old-deja/g++.jason/cond.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28301
More information about the Gcc-bugs
mailing list