Re: [PATCH] function: Set dummy DECL_ASSEMBLER_NAME in push_dummy_function [PR100580]

2021-05-18 Thread Richard Biener
On Tue, 18 May 2021, Jakub Jelinek wrote: > Hi! > > Last year I've added cgraph_node::get_create calls for the dummy > functions used for -fdump-passes, so that it interacts well with pass > disabling/enabling which is cgraph uid based. > Unfortunately, as the following testcase shows, when assem

[PATCH] function: Set dummy DECL_ASSEMBLER_NAME in push_dummy_function [PR100580]

2021-05-18 Thread Jakub Jelinek via Gcc-patches
Hi! Last year I've added cgraph_node::get_create calls for the dummy functions used for -fdump-passes, so that it interacts well with pass disabling/enabling which is cgraph uid based. Unfortunately, as the following testcase shows, when assembler hash is present, that wants to compute DECL_ASSEMB