diff mbox series

multiflags: fix doc warning

Message ID orlea49jm5.fsf@lxoliva.fsfla.org
State New
Headers show
Series multiflags: fix doc warning | expand

Commit Message

Alexandre Oliva Dec. 9, 2023, 2:48 a.m. UTC
Comply with dubious doc warning that after an @xref there must be a
comma or a period, not a close parentheses.

Build-testing on x86_64-linux-gnu now.  Ok to install?


for  gcc/ChangeLog

	* doc/invoke.texi (multiflags): Add period after @xref to
	silence warning.
---
 gcc/doc/invoke.texi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jeff Law Dec. 10, 2023, 6:13 p.m. UTC | #1
On 12/8/23 19:48, Alexandre Oliva wrote:
> 
> Comply with dubious doc warning that after an @xref there must be a
> comma or a period, not a close parentheses.
> 
> Build-testing on x86_64-linux-gnu now.  Ok to install?
> 
> 
> for  gcc/ChangeLog
> 
> 	* doc/invoke.texi (multiflags): Add period after @xref to
> 	silence warning.
OK
jeff
Joseph Myers Dec. 11, 2023, 8:56 p.m. UTC | #2
On Fri, 8 Dec 2023, Alexandre Oliva wrote:

> @@ -20589,7 +20589,7 @@ allocation before or after interprocedural optimization.
>  This option enables multilib-aware @code{TFLAGS} to be used to build
>  target libraries with options different from those the compiler is
>  configured to use by default, through the use of specs (@xref{Spec
> -Files}) set up by compiler internals, by the target, or by builders at
> +Files}.) set up by compiler internals, by the target, or by builders at

The proper change in this context is to use @pxref instead of @xref.
diff mbox series

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d4e689b64c010..4e67c95dbf85a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -20589,7 +20589,7 @@  allocation before or after interprocedural optimization.
 This option enables multilib-aware @code{TFLAGS} to be used to build
 target libraries with options different from those the compiler is
 configured to use by default, through the use of specs (@xref{Spec
-Files}) set up by compiler internals, by the target, or by builders at
+Files}.) set up by compiler internals, by the target, or by builders at
 configure time.
 
 Like @code{TFLAGS}, this allows the target libraries to be built for