diff options
author | nathan <> | 2005-10-12 09:59:27 +0000 |
---|---|---|
committer | nathan <> | 2005-10-12 09:59:27 +0000 |
commit | 52b506aacd7d63969eb90c4093470f1b5049decc (patch) | |
tree | b0465a3073a9f4f3860f76293fb3d13b4ca9868a /gcc/cp/ChangeLog | |
parent | 87c1a8edf873631685fe7f009cec26f21bb53905 (diff) |
PR c++/19964
* stor-layout.c (place_field): Set DECL_FIELD_OFFSET and
DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid
type.
cp:
PR c++/19964
* cp/class.c (walk_subobject_offsets): Don't walk error_mark_node.
testsuite:
PR c++/19964
* g++.dg/parse/crash31.C: New.
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a544cfa392d..53a5cb0cbec 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2005-10-12 Nathan Sidwell <nathan@codesourcery.com> + + PR c++/19964 + * cp/class.c (walk_subobject_offsets): Don't walk error_mark_node. + 2005-10-11 Ian Lance Taylor <ian@airs.com> PR c++/8057 |