Re: [PATCH] Fix -Wshadow=local warnings in hash-table.h

2019-10-04 Thread Richard Sandiford
Bernd Edlinger writes: > Hi, > > this fixes a few -Wshadow=local warnings in hash-table.h. > > Since values of type size_t are assigned here to int variables > an overflow may happen resulting in memory leaks or malfunction. > > > Bootstrapped and reg-tested on x86_64-pc-linux-gnu. > Is it OK for

[PATCH] Fix -Wshadow=local warnings in hash-table.h

2019-10-03 Thread Bernd Edlinger
Hi, this fixes a few -Wshadow=local warnings in hash-table.h. Since values of type size_t are assigned here to int variables an overflow may happen resulting in memory leaks or malfunction. Bootstrapped and reg-tested on x86_64-pc-linux-gnu. Is it OK for trunk? Thanks Bernd. 2019-10-03 Bern