This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19964] [3.4/4.0/4.1 regression] ICE on invalid member declaration



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]