diff options
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r-- | gcc/c-common.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c index e177d88..cc743cc 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -3106,7 +3106,8 @@ c_common_nodes_and_builtins (void) abort (); \ \ if (!BOTH_P) \ - decl = builtin_function (NAME, builtin_types[TYPE], ENUM, \ + decl = lang_hooks.builtin_function (NAME, builtin_types[TYPE], \ + ENUM, \ CLASS, \ (FALLBACK_P \ ? (NAME + strlen ("__builtin_")) \ @@ -3214,12 +3215,14 @@ builtin_function_2 (const char *builtin_name, const char *name, tree decl = NULL_TREE; if (builtin_name != 0) - bdecl = builtin_function (builtin_name, builtin_type, function_code, - class, library_name_p ? name : NULL, attrs); + bdecl = lang_hooks.builtin_function (builtin_name, builtin_type, + function_code, class, + library_name_p ? name : NULL, attrs); if (name != 0 && !flag_no_builtin && !builtin_function_disabled_p (name) && !(nonansi_p && flag_no_nonansi_builtin)) - decl = builtin_function (name, type, function_code, class, NULL, attrs); + decl = lang_hooks.builtin_function (name, type, function_code, class, + NULL, attrs); return (bdecl != 0 ? bdecl : decl); } |