This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Remove LABEL_OUTSIDE_LOOP_P


Hi,

This patch removes LABEL_OUTSIDE_LOOP_P, which is unused since loop.c
was removed.  Bootstrapped&tested in the same cycle as my patch for
PR26983.

Unless I hear objections, I'll commit this sometime in the second half
of next week.

Gr.
Steven


	* rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
	doc/rtl.texi: Remove related documentation.

Index: doc/rtl.texi
===================================================================
--- doc/rtl.texi	(revision 116785)
+++ doc/rtl.texi	(working copy)
@@ -608,14 +608,6 @@ branch is not taken.  When @code{INSN_AN
 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}
Index: rtl.h
===================================================================
--- rtl.h	(revision 116785)
+++ rtl.h	(working copy)
@@ -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)					\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]