diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-02-23 16:44:18 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-02-23 16:44:18 +0000 |
commit | 9113b9fb6d0a11590e479d694552782310703902 (patch) | |
tree | f432a161e71a5f35dbc1eab3777bf3ba35d731c0 /gcc/tree-if-conv.c | |
parent | c70c034251ce49cb008d344c504ee086c6105af9 (diff) | |
download | gcc-9113b9fb6d0a11590e479d694552782310703902.zip gcc-9113b9fb6d0a11590e479d694552782310703902.tar.gz gcc-9113b9fb6d0a11590e479d694552782310703902.tar.bz2 |
re PR c++/46868 (ICE: SIGSEGV splay_tree_splay (splay-tree.c:149) on invalid code)
fix PR c++/46868
gcc/cp/
PR c++/46868
* parser.c (cp_parser_class_specifier): Require a closing brace
to attempt error recovery.
gcc/testsuite/
PR c++/46868
* g++.dg/pr46868.C: New test.
* g++.dg/parse/parameter-declaration-1.C: Adjust.
* g++.dg/parse/error14.C: Adjust.
From-SVN: r170440
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions