Fix 69650, bogus line numbers from libcpp
Jeff Law
law@redhat.com
Fri Mar 25 18:25:00 GMT 2016
On 03/24/2016 03:25 PM, Jeff Law wrote:
> On 03/24/2016 09:20 AM, Bernd Schmidt wrote:
>>
>> Like this? No one has yet approved any better wording for the message,
>> so given that you said "it's not a regression" I've left it, but I would
>> now prefer "linemarker ignored due to incorrect nesting".
>>
>>
>> Bernd
>>
>> cpp-leave.diff
>>
>>
>> PR lto/69650
>> * directives.c (do_linemarker): Test for file left but not entered
>> here.
>> * line-map.c (linemap_add): Not here.
>>
>> PR lto/69650
>> * gcc.dg/pr69650.c: New test.
> OK.
>
> Also OK if you want to fixup the message.
And I just realized Bernd is out due to the holidays, so I went ahead
and committed this for him.
jeff
More information about the Gcc-patches
mailing list