diff options
Diffstat (limited to 'gcc/config/frv/frv.cc')
-rw-r--r-- | gcc/config/frv/frv.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/frv/frv.cc b/gcc/config/frv/frv.cc index 6f1904b358c..5cdb0bfe6e9 100644 --- a/gcc/config/frv/frv.cc +++ b/gcc/config/frv/frv.cc @@ -2104,7 +2104,8 @@ frv_setup_incoming_varargs (cumulative_args_t cum_v, { CUMULATIVE_ARGS *cum = get_cumulative_args (cum_v); - if (TARGET_DEBUG_ARG) + if (!TYPE_NO_NAMED_ARGS_STDARG_P (TREE_TYPE (current_function_decl)) + && TARGET_DEBUG_ARG) fprintf (stderr, "setup_vararg: words = %2d, mode = %4s, pretend_size = %d, second_time = %d\n", *cum, GET_MODE_NAME (arg.mode), *pretend_size, second_time); |