diff options
author | Mark Mitchell <mark@codesourcery.com> | 2006-10-16 23:07:46 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2006-10-16 23:07:46 +0000 |
commit | 21864445019fb2a47312b6afcb2aede62cdc677a (patch) | |
tree | 4516cb9af9e0def299358adb9611a4eda5ac901b /gcc/cp/ChangeLog | |
parent | b4c74ba24343fb49967075548248964138920c30 (diff) | |
download | gcc-21864445019fb2a47312b6afcb2aede62cdc677a.tar.gz |
re PR c++/29408 (parse error for valid code)
PR c++/29408
* parser.c (cp_parser_using_declaration): Stop parsing when
something goes wrong with an access declaration.
PR c++/29408
* g++.dg/parse/dtor12.C: New test.
From-SVN: r117800
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f07426ab8c8..ff4718029e3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,9 @@ 2006-10-16 Mark Mitchell <mark@codesourcery.com> + PR c++/29408 + * parser.c (cp_parser_using_declaration): Stop parsing when + something goes wrong with an access declaration. + PR c++/29435 * typeck.c (cxx_sizeof_or_alignof_type): Complete non-dependent types when their sizes are required. Refine test for VLAs. |