2019-05-20 Martin Liska <mliska@suse.cz>
* targhooks.c (default_libc_has_fast_function): New function.
* targhooks.h (default_libc_has_fast_function): Likewise.
From-SVN: r271401
+2019-05-20 Martin Liska <mliska@suse.cz>
+
+ * targhooks.c (default_libc_has_fast_function): New function.
+ * targhooks.h (default_libc_has_fast_function): Likewise.
+
2019-05-20 Martin Liska <mliska@suse.cz>
PR middle-end/90263
return false;
}
+/* By default assume that libc has not a fast implementation. */
+
+bool
+default_libc_has_fast_function (int fcode ATTRIBUTE_UNUSED)
+{
+ return false;
+}
+
bool
gnu_libc_has_function (enum function_class fn_class ATTRIBUTE_UNUSED)
{
extern bool default_have_conditional_execution (void);
extern bool default_libc_has_function (enum function_class);
+extern bool default_libc_has_fast_function (int fcode);
extern bool no_c99_libc_has_function (enum function_class);
extern bool gnu_libc_has_function (enum function_class);