This is the mail archive of the gcc@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]

Re: A completely different approach to EH runtime



> On Fri, Feb 23, 2001 at 01:53:25PM -0800, Zack Weinberg wrote:
> > The last time you tried to explain this I didn't understand it, but
> > this time I do.  I'm now wondering how lethal this is to the RTTI
> > scheme and whether we can do anything about _that_ before 3.0.

Richard Henderson writes:
> Yep, the same thing we do for targets without linkonce.
> Namely, strcmp vs pointer equality.

I strongly agree with Richard's suggestion.  We must treat linkonce as
only an optimization, never relying on it for correct functionality --
especially because the concept doesn't exist on some target platforms,
but even where it does exist, there are difficulties, both with dynamic
loading and with other types of partial linking.



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