doc: invoke: riscv: Fix closing block bracket

Message ID 20221115223648.196471-1-christoph.muellner@vrull.eu
State New
Headers
Series doc: invoke: riscv: Fix closing block bracket |

Commit Message

Christoph Müllner Nov. 15, 2022, 10:36 p.m. UTC
  From: Christoph Müllner <christoph.muellner@vrull.eu>

This patch fixes a wrong placed closing bracket in the RISC-V section of
invoke.texi.

gcc/ChangeLog:

	* doc/invoke.texi: Fix closing block bracket

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
---
 gcc/doc/invoke.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Andreas Schwab Nov. 15, 2022, 10:54 p.m. UTC | #1
On Nov 15 2022, Christoph Muellner wrote:

> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index 057439a004c..dfac7c85844 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -1220,8 +1220,8 @@ See RS/6000 and PowerPC Options.
>  -malign-data=@var{type} @gol
>  -mbig-endian  -mlittle-endian @gol
>  -mstack-protector-guard=@var{guard}  -mstack-protector-guard-reg=@var{reg} @gol
> --mstack-protector-guard-offset=@var{offset}}
> --mcsr-check -mno-csr-check @gol
> +-mstack-protector-guard-offset=@var{offset} @gol
> +-mcsr-check -mno-csr-check @gol}

There should be no @gol at the end of the list.
  
Christoph Müllner Nov. 15, 2022, 11:03 p.m. UTC | #2
On Tue, Nov 15, 2022 at 11:54 PM Andreas Schwab <schwab@linux-m68k.org>
wrote:

> On Nov 15 2022, Christoph Muellner wrote:
>
> > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> > index 057439a004c..dfac7c85844 100644
> > --- a/gcc/doc/invoke.texi
> > +++ b/gcc/doc/invoke.texi
> > @@ -1220,8 +1220,8 @@ See RS/6000 and PowerPC Options.
> >  -malign-data=@var{type} @gol
> >  -mbig-endian  -mlittle-endian @gol
> >  -mstack-protector-guard=@var{guard}
> -mstack-protector-guard-reg=@var{reg} @gol
> > --mstack-protector-guard-offset=@var{offset}}
> > --mcsr-check -mno-csr-check @gol
> > +-mstack-protector-guard-offset=@var{offset} @gol
> > +-mcsr-check -mno-csr-check @gol}
>
> There should be no @gol at the end of the list.
>

I saw the @gol at the end of the PRU Options list (just above RISC-V).
I will make a v2 where I will remove the @gol from there as well.

Thanks,
Christoph



>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."
>
  

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 057439a004c..dfac7c85844 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1220,8 +1220,8 @@  See RS/6000 and PowerPC Options.
 -malign-data=@var{type} @gol
 -mbig-endian  -mlittle-endian @gol
 -mstack-protector-guard=@var{guard}  -mstack-protector-guard-reg=@var{reg} @gol
--mstack-protector-guard-offset=@var{offset}}
--mcsr-check -mno-csr-check @gol
+-mstack-protector-guard-offset=@var{offset} @gol
+-mcsr-check -mno-csr-check @gol}
 
 @emph{RL78 Options}
 @gccoptlist{-msim  -mmul=none  -mmul=g13  -mmul=g14  -mallregs @gol