This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Fix PR c++/22452
Daniel Berlin wrote:
>>actually, looking at the code, I think you just need
>> if (TREE_CODE (decl) == CONST_DECL)
>> return decl_linkage (TYPE_NAME (TREE_TYPE (decl)));
>>before the comdat check. Can you give that a try?
> That works too.
> Can i commit that patch with the obvious changelog?
yes, thank you!
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
email@example.com :: http://www.planetfall.pwp.blueyonder.co.uk