diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 762df397e116ddc20a6d4dd261ba18fc846ab49e..ae477841b418a132643381cd95930a3c34798555 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-16  Steven Bosscher  <steven@gcc.gnu.org>
+
+	* rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
+	* doc/rtl.texi: Remove related documentation.
+
 2006-09-16  Bernd Schmidt  <bernd.schmidt@analog.com>
 
 	* loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 9036ddbd983fbb6945ba65f789318f702aa71403..76e8f16face259af64394bdcc88d75c1bb628cf4 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -608,14 +608,6 @@ branch is not taken.  When @code{INSN_ANNULLED_BRANCH_P} is not set,
 this insn will always be executed.  Stored in the @code{in_struct}
 field and printed as @samp{/s}.
 
-@findex LABEL_OUTSIDE_LOOP_P
-@cindex @code{label_ref} and @samp{/s}
-@cindex @code{in_struct}, in @code{label_ref}
-@item LABEL_OUTSIDE_LOOP_P (@var{x})
-In @code{label_ref} expressions, nonzero if this is a reference to a
-label that is outside the innermost loop containing the reference to the
-label.  Stored in the @code{in_struct} field and printed as @samp{/s}.
-
 @findex LABEL_PRESERVE_P
 @cindex @code{code_label} and @samp{/i}
 @cindex @code{note} and @samp{/i}
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f8d97a18aad8c71af594d1a1309a667e1ab1414e..6c76f9d19df2944ff84368a52f76a2fac6869d50 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1198,11 +1198,6 @@ do {						\
    MEM_KEEP_ALIAS_SET_P (LHS) = MEM_KEEP_ALIAS_SET_P (RHS),	\
    MEM_ATTRS (LHS) = MEM_ATTRS (RHS))
 
-/* 1 if RTX is a label_ref to a label outside the loop containing the
-   reference.  */
-#define LABEL_OUTSIDE_LOOP_P(RTX)					\
-  (RTL_FLAG_CHECK1("LABEL_OUTSIDE_LOOP_P", (RTX), LABEL_REF)->in_struct)
-
 /* 1 if RTX is a label_ref for a nonlocal label.  */
 /* Likewise in an expr_list for a reg_label note.  */
 #define LABEL_REF_NONLOCAL_P(RTX)					\