* [PATCH] driver: toplev: Fix a typo
@ 2023-03-03 8:54 Xi Ruoyao
2023-03-03 8:57 ` Xi Ruoyao
0 siblings, 1 reply; 3+ messages in thread
From: Xi Ruoyao @ 2023-03-03 8:54 UTC (permalink / raw)
To: gcc-patches; +Cc: Jeff Law, Xi Ruoyao
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".
---
gcc/toplev.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/toplev.cc b/gcc/toplev.cc
index 4c15d4f542e..109c9d58cbd 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;
}
--
2.39.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] driver: toplev: Fix a typo
2023-03-03 8:54 [PATCH] driver: toplev: Fix a typo Xi Ruoyao
@ 2023-03-03 8:57 ` Xi Ruoyao
2023-03-03 11:17 ` Richard Biener
0 siblings, 1 reply; 3+ messages in thread
From: Xi Ruoyao @ 2023-03-03 8:57 UTC (permalink / raw)
To: gcc-patches; +Cc: Jeff Law
On Fri, 2023-03-03 at 16:54 +0800, Xi Ruoyao wrote:
> 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).
Forgot: Ok for trunk? Though I think it's obvious but let's follow the
procedure :).
> gcc/ChangeLog:
>
> * toplev.cc (process_options): Fix the spelling of
> "-fstack-clash-protection".
> ---
> gcc/toplev.cc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/toplev.cc b/gcc/toplev.cc
> index 4c15d4f542e..109c9d58cbd 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;
> }
--
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] driver: toplev: Fix a typo
2023-03-03 8:57 ` Xi Ruoyao
@ 2023-03-03 11:17 ` Richard Biener
0 siblings, 0 replies; 3+ messages in thread
From: Richard Biener @ 2023-03-03 11:17 UTC (permalink / raw)
To: Xi Ruoyao; +Cc: gcc-patches, Jeff Law
On Fri, Mar 3, 2023 at 9:58 AM Xi Ruoyao via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> On Fri, 2023-03-03 at 16:54 +0800, Xi Ruoyao wrote:
> > 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).
>
> Forgot: Ok for trunk? Though I think it's obvious but let's follow the
> procedure :).
OK.
> > gcc/ChangeLog:
> >
> > * toplev.cc (process_options): Fix the spelling of
> > "-fstack-clash-protection".
> > ---
> > gcc/toplev.cc | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gcc/toplev.cc b/gcc/toplev.cc
> > index 4c15d4f542e..109c9d58cbd 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;
> > }
>
> --
> Xi Ruoyao <xry111@xry111.site>
> School of Aerospace Science and Technology, Xidian University
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-03 11:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 8:54 [PATCH] driver: toplev: Fix a typo Xi Ruoyao
2023-03-03 8:57 ` Xi Ruoyao
2023-03-03 11:17 ` Richard Biener
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).