On 6/25/19 12:25 PM, Martin Liška wrote: > On 6/24/19 4:09 PM, Richard Biener wrote: >> You still get one instance in each TU ... > > Right, fixed in attached patch. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed? > Thanks, > Martin >
Btw. clang provides a reasonable warning for that: /home/marxin/Programming/gcc/gcc/hash-table.h:1017:1: warning: 'static' function 'hashtab_chk_error' declared in header file should be declared 'static inline' [-Wunneeded-internal-declaration] Martin