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++/39981] zero-size base class optimization fails in certain scenarios



------- Comment #4 from navinkumar+bugs at gmail dot com  2009-04-30 19:22 -------
Since std::is_empty<_2_emptyB>::value && std::is_empty<_2_emptyA>::value (as
verified by the static assertions), GCC should not treat _2_emptyB differently
from _2_emptyA when computing the structure's layout.  The IA64 C++ ABI only
talks about pod, data, and empty structures, so the ABI specification does not
distinguish between _2_emptyB and _2_emptyA.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39981


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