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 C++: get_tinfo_decl-- call typeinfo_in_lib_p withdeclaration type




--On Tuesday, October 02, 2001 08:03:40 PM +0100 Nathan Sidwell 
<nathan@codesourcery.com> wrote:

> John David Anglin wrote:
>>
>> Currently, typeinfo_in_lib_p is called in get_tinfo_decl with the new
>> decl d.  The type of d is VAR_DECL.  As a result, the call always
>> returns false and comdat linkage is used for all tinfo declarations.  The
>> patch changes the call to use the type used to build the declaration.
>> This provides a true test as to whether the tinfo is in the runtime
>> library or not.
>
>> OK?
> This is an obvious patch. (It's obvious to me, is that bestowable? :-)
>
> I'd recommend Mark approves it for 3.0.2 as well.

Would one of you please forward the patch to me directly?  I'm sure
it's peachy, but I'd like to peek.

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