From: Xi Ruoyao Date: Fri, 3 Mar 2023 08:50:53 +0000 (+0800) Subject: driver: toplev: Fix a typo X-Git-Tag: basepoints/gcc-14~763 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6703f490cd802650cf5a5a8ada6c5077316547dd;p=thirdparty%2Fgcc.git driver: toplev: Fix a typo The driver emits a warning when -fstack-check and -fstack-clash-protection are used together, but the message refers to "-fstack-clash_protection" (underline instead of dash). gcc/ChangeLog: * toplev.cc (process_options): Fix the spelling of "-fstack-clash-protection". --- diff --git a/gcc/toplev.cc b/gcc/toplev.cc index 4c15d4f542e1..109c9d58cbd1 100644 --- a/gcc/toplev.cc +++ b/gcc/toplev.cc @@ -1580,7 +1580,7 @@ process_options (bool no_backend) if (flag_stack_check != NO_STACK_CHECK && flag_stack_clash_protection) { warning_at (UNKNOWN_LOCATION, 0, - "%<-fstack-check=%> and %<-fstack-clash_protection%> are " + "%<-fstack-check=%> and %<-fstack-clash-protection%> are " "mutually exclusive; disabling %<-fstack-check=%>"); flag_stack_check = NO_STACK_CHECK; }