Hello!

> 2015-05-03  Sandra Loosemore  <san...@codesourcery.com>
>
>    gcc/
>    * doc/extend.texi (Variable Attributes, Type Attributes):  Move
>    sections up in file, to immediately after the Function Attributes
>    section.

You also need to update relevant @menu entry, otherwise you get
several warning like:

/home/uros/gcc-svn/trunk/gcc/doc/extend.texi:2146: warning: node next
`Function Attributes' in menu `Label Attributes' and in sectioning
`Variable Attributes' differ

Fixed with attached patch.

2015-05-05  Uros Bizjak  <ubiz...@gmail.com>

    * doc/extend.texi (C Extensions): Update menu for moved Variable
    Attributes and Type Attributes sections.

Tested with texinfo 5.2 and committed to mainline SVN.

Uros.
Index: doc/extend.texi
===================================================================
--- doc/extend.texi     (revision 222816)
+++ doc/extend.texi     (working copy)
@@ -56,6 +56,8 @@
 * Mixed Declarations::  Mixing declarations and code.
 * Function Attributes:: Declaring that functions have no side effects,
                         or that they can never return.
+* Variable Attributes:: Specifying attributes of variables.
+* Type Attributes::     Specifying attributes of types.
 * Label Attributes::    Specifying attributes on labels.
 * Attribute Syntax::    Formal syntax for attributes.
 * Function Prototypes:: Prototype declarations and old-style definitions.
@@ -62,8 +64,6 @@
 * C++ Comments::        C++ comments are recognized.
 * Dollar Signs::        Dollar sign is allowed in identifiers.
 * Character Escapes::   @samp{\e} stands for the character @key{ESC}.
-* Variable Attributes:: Specifying attributes of variables.
-* Type Attributes::     Specifying attributes of types.
 * Alignment::           Inquiring about the alignment of a type or variable.
 * Inline::              Defining inline functions (as fast as macros).
 * Volatiles::           What constitutes an access to a volatile object.

Reply via email to