[ping] Use 'location_hash' for 'gcc/diagnostic-spec.h:nowarn_map'

Martin Sebor msebor@gmail.com
Mon Nov 15 16:43:37 GMT 2021


On 11/15/21 8:01 AM, Thomas Schwinge wrote:
> Hi!
> 
> Ping.

This change looks good to me.

Martin

> 
> Grüße
>   Thomas
> 
> 
> On 2021-11-09T15:18:44+0100, I wrote:
>> Hi!
>>
>> On 2021-09-03T21:16:46+0200, I wrote:
>>> On 2021-09-01T18:14:46-0600, Martin Sebor <msebor@gmail.com> wrote:
>>>> On 9/1/21 1:35 PM, Thomas Schwinge wrote:
>>>>> On 2021-06-23T13:47:08-0600, Martin Sebor via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
>>>>>> --- /dev/null
>>>>>> +++ b/gcc/diagnostic-spec.h
>>>>>
>>>>>> +typedef location_t key_type_t;
>>>>>> +typedef int_hash <key_type_t, 0, UINT_MAX> xint_hash_t;
>>>
>>>> By the way, it seems we should probably also use a manifest constant
>>>> for Empty (probably UNKNOWN_LOCATION since we're reserving it).
>>>
>>> Yes, that will be part of another patch here -- waiting for approval of
>>> "Generalize 'gcc/input.h:struct location_hash'" posted elsewhere.
>>
>> ... which I have now pushed, so I may now propose the attached patch to
>> "Use 'location_hash' for 'gcc/diagnostic-spec.h:nowarn_map'".  OK to
>> push?
>>
>>
>> Grüße
>>   Thomas
> 
> 
> -----------------
> Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
> 



More information about the Gcc-patches mailing list