[gcc patch] Re: C++ member function template id not matching linkage name (PR debug/49408)

Jason Merrill jason@redhat.com
Wed Jun 29 23:01:00 GMT 2011


On 06/29/2011 05:07 PM, Jan Kratochvil wrote:
> On Wed, 29 Jun 2011 22:56:26 +0200, Jason Merrill wrote:
>> On 06/29/2011 04:00 PM, Jan Kratochvil wrote:
>>> On Mon, 27 Jun 2011 20:00:24 +0200, Jason Merrill wrote:
>>>    # decltype/fn call test
>>>    --format=gnu-v3
>>>    _Z4add3IidEDTclL_Z1gEfp_fp0_EET_T0_
>>> -decltype (g({parm#1}, {parm#2})) add3<int, double>(int, double)
>>> +decltype (g) add3<int, double>(int, double)
>>
>> Here you're suppressing the arguments to a call, which we want to keep;
>> we only want to suppress printing the parameter types (which are not
>> part of the source expression).
>
> Sorry but what is therefore the expect output in this case?

The earlier output was correct.  We just don't want to print "g(int, 
double)".

Jason



More information about the Gcc-patches mailing list