Re: [PATCH] c++: Fix PCH ICE with __builtin_source_location [PR98343]

2020-12-17 Thread Jason Merrill via Gcc-patches
On 12/17/20 10:04 AM, Jakub Jelinek wrote: Hi! Seems the ggc_remove ppc_nx 3 operand member relies on the hash tables to contain pointers in the first element, which is not the case for source_location_table* hash table, which has location_t and unsigned as first two members and pointer somewher

[PATCH] c++: Fix PCH ICE with __builtin_source_location [PR98343]

2020-12-17 Thread Jakub Jelinek via Gcc-patches
Hi! Seems the ggc_remove ppc_nx 3 operand member relies on the hash tables to contain pointers in the first element, which is not the case for source_location_table* hash table, which has location_t and unsigned as first two members and pointer somewhere else. I've tried to change: static void