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


>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:

> 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.

Agreed.

> That's not really the best of ideas.  Previously, we put small comdat
> variables in .gnu.linkonce.s.*, which gets merged with .sdata.

Ah, I hadn't realized that we were doing this.  In that case, I'll go ahead
and fix the lie.

Jason


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