https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The ICE in determine_versionability is on: 3844 if (node->has_gimple_body_p () 3845 && opt_for_fn (node->decl, flag_ipa_cp) 3846 && opt_for_fn (node->decl, optimize)) 3847 { 3848 class ipa_node_params *info = IPA_NODE_REF (node); 3849 determine_versionability (node, info); 651 info->versionable = (reason == NULL); where info is NULL for a node that has been called from declare target to, but is not itself marked declare target to.