This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] doc/invoke.texi: fix markup
- From: David Malcolm <dmalcolm at redhat dot com>
- To: Christophe Lyon <christophe dot lyon at linaro dot org>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, gcc Patches <gcc-patches at gcc dot gnu dot org>, David Malcolm <dmalcolm at redhat dot com>
- Date: Thu, 8 Nov 2018 14:55:53 -0500
- Subject: [PATCH] doc/invoke.texi: fix markup
- References: <CAKdteOZA1oW8c8L_M8QGSq4z0czuW9UWftNEfUaHxbUP2p_psg@mail.gmail.com>
On Thu, 2018-11-08 at 19:38 +0100, Christophe Lyon wrote:
[...snip...]
> Hi,
>
> This patch breaks my builds:
> /tmp/9837775_6.tmpdir/aci-gcc-fsf/sources/gcc-
> fsf/gccsrc/gcc/doc//invoke.texi:14118:
> @option expected braces.
> /tmp/9837775_6.tmpdir/aci-gcc-fsf/sources/gcc-
> fsf/gccsrc/gcc/doc//invoke.texi:14118:
> Misplaced {.
> /tmp/9837775_6.tmpdir/aci-gcc-fsf/sources/gcc-
> fsf/gccsrc/gcc/doc//invoke.texi:14118:
> Misplaced }.
> /tmp/9837775_6.tmpdir/aci-gcc-fsf/sources/gcc-
> fsf/gccsrc/gcc/doc//invoke.texi:14118:
> @code missing close brace.
> makeinfo: Removing output file `doc/gcc.info' due to errors; use
> --force to preserve.
> make[2]: *** [doc/gcc.info] Error 1
>
> It is a problem of makeinfo version ? (I'm using RHEL6's)
>
> Christophe
Sorry about this. FWIW I tested with "makeinfo (GNU texinfo) 5.1"
[...snip...]
Line 14118 is near the end of the hunk that I added:
optimizations (equivalent to @option {-optimized}) together with
Looks like a stray space snuck in between the
@option
and the
{-optimized}"
Does the attached patch fix it?
gcc/ChangeLog:
* doc/invoke.texi (-fdump-ipa-): Remove stray space in markup.
---
gcc/doc/invoke.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 97de735..f7f38af 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14092,7 +14092,7 @@ information on callsites that were inlined, along with callsites
that were not inlined.
By default, the dump will contain messages about successful
-optimizations (equivalent to @option {-optimized}) together with
+optimizations (equivalent to @option{-optimized}) together with
low-level details about the analysis.
@item -fdump-lang-all
--
1.8.5.3