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]

Re: Patch for throw/catch problems




--On Monday, August 13, 2001 04:25:31 PM -0700 Richard Henderson 
<rth@redhat.com> wrote:

> That said, I can guess what the problem might be, since I've
> brought up the issue here before.  Mark, Jason, is this
> commentary enough to jog your memory, or should I go track
> down the original discussions?

Oh, I understand that problem... :-)

You might want to look at the ABI web-site and see if the mailing list
archives say anything about this.  I remember the committee discussing
this issue, and I thought that the consensus was to ban RTLD_LOCAL
in conjunction with C++.  This is probably not the only place where
various parts of the ABI could/do stop working if you use RTLD_LOCAL.
For example, static data members probably won't get shared, and
neither will local static objects in template instantiations, for
example.  I think the argument was that given all the problems, it
was better just to ban this usage, and then go fast by depending
on the pointer equality trick.

I don't remember what side I was on in this discussion or what Jason
thought.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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