basic-block.h (PROP_EQUAL_NOTES): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 15 Apr 2005 16:47:17 +0000 (16:47 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 15 Apr 2005 16:47:17 +0000 (16:47 +0000)
* basic-block.h (PROP_EQUAL_NOTES): Remove.
* flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES.

From-SVN: r98193

gcc/ChangeLog
gcc/basic-block.h
gcc/flow.c

index 031ab57bc5ea8a325e4320aef7c4e6d658bb5a5c..e0784ef5145e4c017e1551344261cd4b37063e9a 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * basic-block.h (PROP_EQUAL_NOTES): Remove.
+       * flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES.
+
 2005-04-15  Andrew MacLeod  <amacleod@redhat.com>
 
        * tree-vect-analyze.c (vect_stmt_relevant_p): Process immediate uses 
index fcaa9a952aa601177e970746ef6050972b2643bb..447438cc2d1eaf7574912b565723ac528a3f5afd 100644 (file)
@@ -780,7 +780,6 @@ enum update_life_extent
 #define PROP_ALLOW_CFG_CHANGES 32      /* Allow the CFG to be changed
                                           by dead code removal.  */
 #define PROP_AUTOINC           64      /* Create autoinc mem references.  */
-#define PROP_EQUAL_NOTES       128     /* Take into account REG_EQUAL notes.  */
 #define PROP_SCAN_DEAD_STORES  256     /* Scan for dead code.  */
 #define PROP_ASM_SCAN          512     /* Internal flag used within flow.c
                                           to flag analysis of asms.  */
index 2c7e84fbe6b86998dbdfa5d617075c4425efda67..3251dd699abd0fb778e4eb42d05b73729fc79531 100644 (file)
@@ -1798,7 +1798,6 @@ propagate_one_insn (struct propagate_block_info *pbi, rtx insn)
     }
   else
     {
-      rtx note;
       /* Any regs live at the time of a call instruction must not go
         in a register clobbered by calls.  Find all regs now live and
         record this for them.  */
@@ -1873,10 +1872,6 @@ propagate_one_insn (struct propagate_block_info *pbi, rtx insn)
       /* Record uses.  */
       if (! insn_is_dead)
        mark_used_regs (pbi, PATTERN (insn), NULL_RTX, insn);
-      if ((flags & PROP_EQUAL_NOTES)
-         && ((note = find_reg_note (insn, REG_EQUAL, NULL_RTX))
-             || (note = find_reg_note (insn, REG_EQUIV, NULL_RTX))))
-       mark_used_regs (pbi, XEXP (note, 0), NULL_RTX, insn);
 
       /* Sometimes we may have inserted something before INSN (such as a move)
         when we make an auto-inc.  So ensure we will scan those insns.  */