[Bug ipa/116526] [13/14/15/16 Regression] ICE: in get_partitioning_class, at symtab.cc:2190 with -O -fopenacc -fprofile-generate -flto

pheeck at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 16 14:28:48 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116526

--- Comment #7 from Filip Kastl <pheeck at gcc dot gnu.org> ---
The call to memcpy gets removed in 'tree-profile.cc:tree_profiling ()' when it
calls 'cleanup_tree_cfg ()' (during the pass_ipa_tree_profile pass).

Btw it is confusing that we have both pass_ipa_profile and
pass_ipa_tree_profile :).


More information about the Gcc-bugs mailing list