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]
Other format: [Raw text]

Re: C++ PATCH to emit_tinfo_decl


On Thu, May 16, 2002 at 07:37:42PM +0100, Nathan Sidwell wrote:
> the sizeof the typeid struct for T depends on whether T has
> no bases, one single non-virtual base, or is more complicated.

In which case, it ought to be incomplete itself, correct?
IIRC, incomplete types have size zero, and small data opts
are supposed to ignore those.  Fibbing with size 8 is surely
the worst thing that can be done.


r~


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