------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-06-14 02:16
-------
Diego --
Your last comment was cut off.
However, no, COMPLETE_TYPE_P does not imply that we know the size of the type,
and it can't ever imply that, in C++. For a type with virtual bases, we don't
know what the size of the object will be; in fact, we don't know wehther the
object will be located in a contiguous block of memory.
So, no front end change will avoid this problem.
-- Mark
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26577