This is the mail archive of the gcc-patches@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]

Re: C++: Internal compiler error 981117.


> It's not obsolete; as a comment above says, layout_basetypes should remove
> the base subobject fields.

Well, the assertion is triggered if

struct input_iterator_tag {};
struct forward_iterator_tag : public input_iterator_tag {};

is compiled with -fnew-abi. I don't fully understand this, but it
seems that the field which is left is the single-byte fields that
makes forward_iterator_tag to have size 1, which looks right to me.

Regards,
Martin


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