PING Re: [RFC] Another fix for PR c++/41183

Jie Zhang jie@codesourcery.com
Thu Mar 25 16:59:00 GMT 2010


On 03/26/2010 12:30 AM, Jason Merrill wrote:
> On 03/25/2010 12:08 PM, Jie Zhang wrote:
>> On 03/26/2010 12:02 AM, Jakub Jelinek wrote:
>
>>> You want to ping Jason, not me, I can't approve this.
>>> That said, I'm not sure if it is a good idea to preserve all the
>>> cfun->language stuff after cloning.
>>>
>> Sorry. I thought you might have considered this method since you fixed
>> that PR and said that fix was a very ugly hack. Let me add Jason.
>
> Thanks, but I'm happy with the current fix; nothing we're doing from the
> middle end should need to look at cfun->language.
>
The problem is I have another test case which need another similar ugly 
hack otherwise. Will you accept another ugly hack?

Another fix might be don't check bindings when mangling. But I'm not 
sure if it's possible?

> Please do attach this patch to the PR, though.
>
Done.


-- 
Jie Zhang
CodeSourcery
(650) 331-3385 x735



More information about the Gcc-patches mailing list