[Bug c++/37762] Member variable of empty base optimized (EBO) class appears on wrong offset

2008-10-07 Thread david dot rosenborg at pantor dot com
--- Comment #1 from david dot rosenborg at pantor dot com 2008-10-07 08:42 --- Created an attachment (id=16474) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16474action=view) Preprocessed program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37762

[Bug c++/37762] Member variable of empty base optimized (EBO) class appears on wrong offset

2008-10-07 Thread david dot rosenborg at pantor dot com
--- Comment #3 from david dot rosenborg at pantor dot com 2008-10-07 09:31 --- Ah, no, I wasn't aware of that document. I just thought that gcc was treating the Good and Bad cases inconsitently. Now, in layman's terms, is the reason for the padding that no two distinct instances

[Bug c++/37762] New: Member variable of empty base optimized (EBO) class appears on wrong offset

2008-10-07 Thread david dot rosenborg at pantor dot com
Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: david dot rosenborg at pantor dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37762