aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSteven Bosscher <stevenb.gcc@gmail.com>2006-03-11 22:14:35 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2006-03-11 22:14:35 +0000
commitfc6c490eea79b69d94d4400c043c329728abb463 (patch)
tree1967f51ab6bd7d5f8a77e446e8321acf6c44faa8 /gcc
parent920d7bf632582d48c340dcf91e462d79aa7dc4cf (diff)
downloadgcc-fc6c490eea79b69d94d4400c043c329728abb463.zip
gcc-fc6c490eea79b69d94d4400c043c329728abb463.tar.gz
gcc-fc6c490eea79b69d94d4400c043c329728abb463.tar.bz2
rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF.
* rtl.def (LABEL_REF): Remove the field for LABEL_NEXTREF. * rtl.h (LABEL_NEXTREF): Remove field accessor. From-SVN: r111969
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/rtl.def5
-rw-r--r--gcc/rtl.h7
3 files changed, 7 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4d2e414..ffcdec0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/rtl.def b/gcc/rtl.def
index 84b24bc..39c51d4 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -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
diff --git a/gcc/rtl.h b/gcc/rtl.h
index dacccfd..4fa58b8 100644
--- 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)
-/* 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. */