+2017-04-11 Martin Liska <mliska@suse.cz>
+
+ PR ipa/80212
+ * ipa-cp.c (determine_versionability): Handle calls_comdat_local
+ flags.
+
2017-04-11 Martin Sebor <msebor@redhat.com>
PR middle-end/80364
decloned constructors, inlining is always better anyway. */
else if (node->comdat_local_p ())
reason = "comdat-local function";
+ else if (node->calls_comdat_local)
+ {
+ /* TODO: call is versionable if we make sure that all
+ callers are inside of a comdat group. */
+ reason = "calls comdat-local function";
+ }
if (reason && dump_file && !node->alias && !node->thunk.thunk_p)
fprintf (dump_file, "Function %s/%i is not versionable, reason: %s.\n",