diff options
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 630cd25..1c14050 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -4716,11 +4716,10 @@ expand_builtin_va_start (tree exp) nextarg = expand_builtin_next_arg (); valist = stabilize_va_list (CALL_EXPR_ARG (exp, 0), 1); -#ifdef EXPAND_BUILTIN_VA_START - EXPAND_BUILTIN_VA_START (valist, nextarg); -#else - std_expand_builtin_va_start (valist, nextarg); -#endif + if (targetm.expand_builtin_va_start) + targetm.expand_builtin_va_start (valist, nextarg); + else + std_expand_builtin_va_start (valist, nextarg); return const0_rtx; } |