gcc, doc: Fix Darwin bootstrap: Amend an @option command to elide a space.

Message ID 20211119205701.10119-1-iain@sandoe.co.uk
State Committed
Commit 16d1d97626cc542d0274aa998f4e584aeab44017
Headers
Series gcc, doc: Fix Darwin bootstrap: Amend an @option command to elide a space. |

Commit Message

Iain Sandoe Nov. 19, 2021, 8:57 p.m. UTC
  At least some version(s) of makeinfo (4.8) do not like @option {-xxxx}
the brace has to follow the @option without any whitespace.

makeinfo 4.8 is installed on Darwin systems and this breaks bootstrap.
The amendment follows the style of the surrounding code.

tested on Darwin9, 18, 19, 20, 21, pushed to master as trivial/bootstrap
fix, thanks
Iain

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

gcc/ChangeLog:

	* doc/invoke.texi: Remove whitespace after an @option.
---
 gcc/doc/invoke.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Martin Jambor Nov. 19, 2021, 11:25 p.m. UTC | #1
Hi,

On Fri, Nov 19 2021, Iain Sandoe wrote:
> At least some version(s) of makeinfo (4.8) do not like @option {-xxxx}
> the brace has to follow the @option without any whitespace.
>
> makeinfo 4.8 is installed on Darwin systems and this breaks bootstrap.
> The amendment follows the style of the surrounding code.
>
> tested on Darwin9, 18, 19, 20, 21, pushed to master as trivial/bootstrap
> fix, thanks
> Iain

oh, sorry and thanks for the fix.  I did not intend to put the space there.

Martin


>
> Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
>
> gcc/ChangeLog:
>
> 	* doc/invoke.texi: Remove whitespace after an @option.
  

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1cfb70291f6..4b1b58318f0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -10677,7 +10677,7 @@  valid for all standard-compliant programs.
 It turns on @option{-ffast-math}, @option{-fallow-store-data-races}
 and the Fortran-specific @option{-fstack-arrays}, unless
 @option{-fmax-stack-var-size} is specified, and @option{-fno-protect-parens}.
-It turns off @option {-fsemantic-interposition}.
+It turns off @option{-fsemantic-interposition}.
 
 @item -Og
 @opindex Og