Hello Martin, Thanks for the information. I tried but it's the same error. Is it possibly due to some bugs or something? I use gcc 10.1.0.
Best, Shuai On Wed, Feb 17, 2021 at 2:36 AM Martin Liška <mli...@suse.cz> wrote: > On 2/16/21 1:13 PM, Shuai Wang wrote: > > std::cerr << get_name(f->decl) << std::endl; > > You likely want to use cgraph_node::get (f->decl)->name () > > Martin >