This looks like an oversight: the entry for TARGET_FLAGS_REGNUM is located in 
the "Passing Arguments in Registers" section of the doc, but it really belongs 
in the "Representation of condition codes using registers" section.

Fixed thusly, applied on all active branches as obvious.


2014-11-16  Eric Botcazou  <ebotca...@adacore.com>

        * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Move around.
        * doc/tm.texi: Regenerate.


-- 
Eric Botcazou
Index: doc/tm.texi.in
===================================================================
--- doc/tm.texi.in	(revision 217602)
+++ doc/tm.texi.in	(working copy)
@@ -3508,8 +3508,6 @@ stack.
 
 @hook TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P
 
-@hook TARGET_FLAGS_REGNUM
-
 @node Scalar Return
 @subsection How Scalar Function Values Are Returned
 @cindex return values in registers
@@ -4496,6 +4494,8 @@ like:
 
 @hook TARGET_CC_MODES_COMPATIBLE
 
+@hook TARGET_FLAGS_REGNUM
+
 @node Costs
 @section Describing Relative Costs of Operations
 @cindex costs of instructions

Reply via email to