From 4ab0bf0b00f445f05c12575899005fcd03034be4 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Fri, 3 May 2019 01:20:30 +0000 Subject: i386: use correct error message about -msave-args and ABIs We used to say it made no sense in 32bit mode, but it doesn't make sense in 16bit mode either --- gcc/config/i386/i386-options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/i386/i386-options.cc b/gcc/config/i386/i386-options.cc index c7d72023f77..00dba0235db 100644 --- a/gcc/config/i386/i386-options.cc +++ b/gcc/config/i386/i386-options.cc @@ -2461,7 +2461,7 @@ ix86_option_override_internal (bool main_args_p, & ~opts->x_ix86_isa_flags_explicit); if (!TARGET_64BIT_P (opts->x_ix86_isa_flags) && TARGET_SAVE_ARGS) - error ("-msave-args makes no sense in the 32-bit mode"); + error ("-msave-args only works in x32 or 64-bit mode"); /* Validate -mpreferred-stack-boundary= value or default it to PREFERRED_STACK_BOUNDARY_DEFAULT. */