RFC: Remove REG_WAS_0.

Kazu Hirata kazu@cs.umass.edu
Sun Jun 15 10:43:00 GMT 2003


Hi,

> Attached is a preliminary patch to remove REG_WAS_0 in an effort to
> clean up gcc.  I haven't done any testing, but I'd like to hear
> opinions.

I forgot to touch the relevant part of rtl.texi.  I'll work on a
ChangeLog entry after the concept is accepted.

Kazu Hirata

Index: rtl.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/rtl.texi,v
retrieving revision 1.57
diff -u -r1.57 rtl.texi
--- rtl.texi	30 May 2003 19:50:02 -0000	1.57
+++ rtl.texi	15 Jun 2003 09:24:56 -0000
@@ -3354,13 +3354,6 @@
 Thus, compiler passes prior to register allocation need only check for
 @code{REG_EQUAL} notes and passes subsequent to register allocation
 need only check for @code{REG_EQUIV} notes.
-
-@findex REG_WAS_0
-@item REG_WAS_0
-The single output of this insn contained zero before this insn.
-@var{op} is the insn that set it to zero.  You can rely on this note if
-it is present and @var{op} has not been deleted or turned into a @code{note};
-its absence implies nothing.
 @end table
 
 These notes describe linkages between insns.  They occur in pairs: one



More information about the Gcc-patches mailing list