Re: [PATCH] c++: Fix up mangling ICE with void{} [PR106863]

2022-10-20 Thread Jason Merrill via Gcc-patches
On 10/19/22 04:00, Jakub Jelinek wrote: Hi! We ICE on the following testcase during mangling, finish_compound_literal returns for void{} void_node and the mangler doesn't handle it. Handling void_node in the mangler seems problematic to me, because we don't know for which case it has been create

[PATCH] c++: Fix up mangling ICE with void{} [PR106863]

2022-10-19 Thread Jakub Jelinek via Gcc-patches
Hi! We ICE on the following testcase during mangling, finish_compound_literal returns for void{} void_node and the mangler doesn't handle it. Handling void_node in the mangler seems problematic to me, because we don't know for which case it has been created. The following patch arranges to mangle