This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2005 13:07:12 -0000
- Subject: [Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration
- References: <bug-19964-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from nathan at gcc dot gnu dot org 2005-10-12 13:07 -------
Fixed mainline and 4.0 branch
2005-10-12 Nathan Sidwell <nathan@codesourcery.com>
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/class.c (walk_subobject_offsets): Don't walk error_mark_node.
--
nathan at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19964