rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
authorSteven Bosscher <stevenb.gcc@gmail.com>
Sat, 11 Mar 2006 22:14:35 +0000 (22:14 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sat, 11 Mar 2006 22:14:35 +0000 (22:14 +0000)
        * rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
        * rtl.h (LABEL_NEXTREF): Remove field accessor.

From-SVN: r111969

gcc/ChangeLog
gcc/rtl.def
gcc/rtl.h

index 4d2e41435e2fae42009b8bb77ca1dfef3853887f..ffcdec083c4a119a02608b923ab1580f07289b13 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-11  Steven Bosscher  <stevenb.gcc@gmail.com>
+
+       * rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
+       * rtl.h (LABEL_NEXTREF): Remove field accessor.
+
 2006-03-11  Eric Botcazou  <ebotcazou@adacore.com>
 
        * function.h (frame_offset_overflow): Declare.
index 84b24bc543bbf640dadcadc6deacd3bb3f45f0a9..39c51d4a4773a5fdbfeb78ea5408907b4b10cbed 100644 (file)
@@ -389,9 +389,8 @@ DEF_RTL_EXPR(CONCAT, "concat", "ee", RTX_OBJ)
 DEF_RTL_EXPR(MEM, "mem", "e0", RTX_OBJ)
 
 /* Reference to an assembler label in the code for this function.
-   The operand is a CODE_LABEL found in the insn chain.
-   The unprinted field 1 is used in flow.c for the LABEL_NEXTREF.  */
-DEF_RTL_EXPR(LABEL_REF, "label_ref", "u0", RTX_CONST_OBJ)
+   The operand is a CODE_LABEL found in the insn chain.  */
+DEF_RTL_EXPR(LABEL_REF, "label_ref", "u", RTX_CONST_OBJ)
 
 /* Reference to a named label: 
    Operand 0: label name
index dacccfdb45855b7965e6011b1d8306c7788a5c5e..4fa58b8bdd7fb01307d56244ee16de7314a10fb3 100644 (file)
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -961,13 +961,6 @@ enum label_kind
    The chain eventually winds up at the CODE_LABEL: it is circular.  */
 #define LABEL_REFS(LABEL) XCEXP (LABEL, 5, CODE_LABEL)
 \f
-/* This is the field in the LABEL_REF through which the circular chain
-   of references to a particular label is linked.
-   FIXME: This chain is used in loop.c and in the SH backend.
-         Since loop.c is about to go away, it could be a win to replace
-         the uses of this in the SH backend with something else.  */
-#define LABEL_NEXTREF(REF) XCEXP (REF, 1, LABEL_REF)
-
 /* For a REG rtx, REGNO extracts the register number.  ORIGINAL_REGNO holds
    the number the register originally had; for a pseudo register turned into
    a hard reg this will hold the old pseudo register number.  */