[PATCH v4] PR preprocessor/83173: Enhance -fdump-internal-locations output

Mike Gulick mgulick@mathworks.com
Tue Nov 27 14:11:00 GMT 2018


On 11/26/18 8:29 PM, David Malcolm wrote:
> On Mon, 2018-11-26 at 22:17 +0000, Mike Gulick wrote:
>> On 11/13/18 3:12 PM, David Malcolm wrote:
>>> On Tue, 2018-11-13 at 14:54 -0500, Mike Gulick wrote:
>>>> 2018-11-13  Mike Gulick  <mgulick@mathworks.com>
>>>
>>> [...]
>>>
>>>> 	* gcc/diagnostic-core.h (num_digits): Add extern definition.
>>>
>>> FWIW you moved the decl to diagnostic.h, but didn't update the
>>> above
>>> ChangeLog entry.
>>>
>>> [...]
>>>
>>>> diff --git a/libcpp/location-example.txt b/libcpp/location-
>>>> example.txt
>>>> index 14b5c2e284a..dc448b0493e 100644
>>>> --- a/libcpp/location-example.txt
>>>> +++ b/libcpp/location-example.txt
>>>
>>> You're going to need to regenerate this file again; I touched many
>>> of
>>> the same lines as your patch does, in r266085 (sorry).
>>>
>>
>> Thanks.  I updated this file and fixed the changelog.  I will send an
>> updated patch after this email.  The contents of this file were a
>> little
>> stale, so many of the locations in the file have changed in addition
>> to
>> the fields I added.  I verified that the changed locations aren't due
>> to
>> any of these patches.
> 
> Excellent; thanks.
> 
> Did the latest patch go through a bootstrap and regression testing?
> 

I built gcc with and without the patches and tested using

 ../gcc/configure --enable-languages=c,c++ --disable-multilib
 make 
 make -k check

I compared the test results using contrib/compare_tests, and the only
difference between the two was the new test that was added.

>>> Other than the nits above, this looks good to me (once you have
>>> your
>>> contribution paperwork in place).
>>
>> The contribution paperwork is now in place.  There are no other
>> changes
>> to the previous patches (other than updating the changelog date).
>> Please let me know if there is anything else I need to do.
> 
> Do you have an account with commit rights to the repository?

I do not.  If you or someone else wants to commit these for me, that is
obviously easier for me, but if you prefer me to do it just let me know
where to start.  I've been using the git mirror to create these patches,
and haven't used subversion for a quite a few years.

> 
> Dave
> 


More information about the Gcc-patches mailing list