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] df.h: Remove DF_REF_MODE_CHANGE and DF_REF_MEM_OK.


Hi,

Attached is a patch to remove DF_REF_MODE_CHANGE and DF_REF_MEM_OK as
they are unused.

Tested on i686-pc-linux-gnu.  OK to apply?

Kazu Hirata

2005-02-06  Kazu Hirata  <kazu@cs.umass.edu>

	* df.h (DF_REF_MODE_CHANGE, DF_REF_MEM_OK): Remove.

Index: df.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/df.h,v
retrieving revision 1.30
diff -c -d -p -r1.30 df.h
*** df.h	2 Feb 2005 20:20:09 -0000	1.30
--- df.h	6 Feb 2005 13:01:51 -0000
*************** enum df_ref_flags
*** 57,79 ****
         independent.  */
      DF_REF_READ_WRITE = 1,
  
-     /* This flag is set on register references inside a subreg on
-        machines which have CANNOT_CHANGE_MODE_CLASS.
-        Note, that this flag can also be set on df_refs representing
-        the REG itself (i.e., one might not see the subreg anymore).
-        Also note, that this flag is set also for hardreg refs, i.e.,
-        you must check yourself if it's a pseudo.  */
-     DF_REF_MODE_CHANGE = 2,
- 
      /* This flag is set, if we stripped the subreg from the reference.
         In this case we must make conservative guesses, at what the
         outer mode was.  */
!     DF_REF_STRIPPED = 4,
! 
!     /* This flag is set during register allocation if it's okay for
!     the reference's INSN to have one of its operands replaced with a
!     memory reference.  */
!     DF_REF_MEM_OK = 8
    };
  
  
--- 57,66 ----
         independent.  */
      DF_REF_READ_WRITE = 1,
  
      /* This flag is set, if we stripped the subreg from the reference.
         In this case we must make conservative guesses, at what the
         outer mode was.  */
!     DF_REF_STRIPPED = 2
    };
  
  


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