2017-03-14 Martin Liska <mliska@suse.cz>
PR target/79892
* multiple_target.c (create_dispatcher_calls): Check that
a target can create a function dispatcher.
From-SVN: r246120
+2017-03-14 Martin Liska <mliska@suse.cz>
+
+ PR target/79892
+ * multiple_target.c (create_dispatcher_calls): Check that
+ a target can create a function dispatcher.
+
2017-03-14 Martin Liska <mliska@suse.cz>
PR lto/66295
" supported by this target");
break;
}
+ else if (!targetm.get_function_versions_dispatcher)
+ {
+ error_at (gimple_location (call),
+ "target does not support function version dispatcher");
+ break;
+ }
+
e_next = e->next_caller;
idecl = targetm.get_function_versions_dispatcher (decl);
if (!idecl)