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