libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / gcc-10 / patches / 0020-i386-use-correct-error-message-about-msave-args-and-.patch
blob7ce81785f300b7fc136523bcb2a1ee3d06534edd
1 From 0db1e6fee07a227fdccd007e8f1f0dc8d60ff67b Mon Sep 17 00:00:00 2001
2 From: Richard Lowe <richlowe@richlowe.net>
3 Date: Fri, 3 May 2019 01:20:30 +0000
4 Subject: [PATCH 20/34] i386: use correct error message about -msave-args and
5 ABIs
7 We used to say it made no sense in 32bit mode, but it doesn't make sense
8 in 16bit mode either
9 ---
10 gcc/config/i386/i386-options.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 diff --git a/gcc/config/i386/i386-options.c b/gcc/config/i386/i386-options.c
14 index 8605ef21dbc..621867a91cf 100644
15 --- a/gcc/config/i386/i386-options.c
16 +++ b/gcc/config/i386/i386-options.c
17 @@ -2506,7 +2506,7 @@ ix86_option_override_internal (bool main_args_p,
18 & ~opts->x_ix86_isa_flags_explicit);
20 if (!TARGET_64BIT_P (opts->x_ix86_isa_flags) && TARGET_SAVE_ARGS)
21 - error ("-msave-args makes no sense in the 32-bit mode");
22 + error ("-msave-args only works in x32 or 64-bit mode");
24 /* Validate -mpreferred-stack-boundary= value or default it to
25 PREFERRED_STACK_BOUNDARY_DEFAULT. */
26 --
27 2.31.1