[Bug c++/13614] zero size base class not zero size in complex inheritance

lawless at spamcop dot net gcc-bugzilla@gcc.gnu.org
Fri Jan 9 00:05:00 GMT 2004


------- Additional Comments From lawless at spamcop dot net  2004-01-09 00:05 -------
Disagree.  FOUR commercial compilers (Sun v7, IBM VAC v5, Intel 6 and Microsoft 
VC++6) do it "correctly."  G++ will be a less viable compiler if it fails to 
correct this deficiency.

The ISO spec states:

10.0(5) second sentence

While G++ is conforming to the "however" part of this,
the practical implication is very troublesome for embedded systems developers
who require absolute control over the size of their classes.

I'm getting increasingly fed-up with G++ and will be switching to ICC anyway, 
but I'm sure someone else will care.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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



More information about the Gcc-bugs mailing list