This patches fixes ICE when ipa-split is run from ipa-profile. In normal
computation we recompute the flag elsewhere, but it is supposed to be kept
up-to-date by passes possibly modifying it.
gcc/ChangeLog:
* cgraphclones.cc (cgraph_node::create_version_clone): Recompute
calls_comdat_local
version. */
e->redirect_callee (new_version);
}
+ new_version->calls_comdat_local = new_version->check_calls_comdat_local_p ();
dump_callgraph_transformation (this, new_version, suffix);