https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126960

Arsen Arsenović <arsen at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandra at gcc dot gnu.org

--- Comment #1 from Arsen Arsenović <arsen at gcc dot gnu.org> ---
hmm, of course this can be fixed by moving the @anchors below the sectioning
commands as in:

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 8fd2f099fe59..874bcb4cb178 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -1659,13 +1659,13 @@ strcpy_irom (alt_buf, "placed within read-only RAM
area.");
 @end smallexample

 @node Attributes
+@section Attributes Specific to GCC
 @anchor{Function Attributes}
 @anchor{Variable Attributes}
 @anchor{Type Attributes}
 @anchor{Label Attributes}
 @anchor{Enumerator Attributes}
 @anchor{Statement Attributes}
-@section Attributes Specific to GCC
 @cindex attributes
 @cindex declaring attributes
 @cindex GNU attributes

... but this means that anchors now no longer point to the heading for the
relevant section, but just after it.

it also does not suffice to recover buildability with 4.7:

~/gcc/_b_gcc/gcc$ /home/arsen/gnu/texinfo-4.7/_build/_pfx/bin/makeinfo
--no-split -I . -I ../../gcc/gcc/doc             -I ../../gcc/gcc/
doc/include -o doc/gcc.info ../../gcc/gcc/doc/gcc.texi
../../gcc/gcc/doc/gcc.texi:43: warning: en_US is not a valid ISO 639 language
code.
../../gcc/gcc/doc//invoke.texi:265: warning: unlikely character , in @var.
../../gcc/gcc/doc//invoke.texi:3957: warning: unlikely character , in @var.
../../gcc/gcc/doc//invoke.texi:5530: warning: `.' or `,' must follow @xref, not
`a'.
../../gcc/gcc/doc//invoke.texi:20451: warning: `.' or `,' must follow @xref,
not `f'.
../../gcc/gcc/doc//extend.texi:201: Multiline command @findex used improperly.
../../gcc/gcc/doc//extend.texi:211: Unmatched `@end'.
../../gcc/gcc/doc//extend.texi:5090: warning: `.' or `,' must follow @xref, not
`f'.
../../gcc/gcc/doc//extend.texi:5103: warning: `.' or `,' must follow @xref, not
`f'.
../../gcc/gcc/doc//extend.texi:5142: warning: `.' or `,' must follow @xref, not
`f'.
../../gcc/gcc/doc//extend.texi:10399: warning: `.' or `,' must follow @xref,
not `)'.
../../gcc/gcc/doc//extend.texi:13064: warning: `.' or `,' must follow @xref,
not `)'.
../../gcc/gcc/doc//extend.texi:13068: warning: `.' or `,' must follow @xref,
not `)'.
../../gcc/gcc/doc//extend.texi:15753: Multiline command @findex used
improperly.
../../gcc/gcc/doc//extend.texi:15757: Unmatched `@end'.

(is it worth trying to recover buildability with 4.7?)

Sandra, WDYT wrt the above?  namely, the moving the anchors made for these old
nodes to be below their sectioning commands as a workaround for Texinfo 4.13,
and about the 4.7 buildability issue (seems to be that it struggles to process
the defbuiltin macro)

Reply via email to