aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-15 16:47:17 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-15 16:47:17 +0000
commit1b3e32dcbfe7bef55f3cc71bb12aa61901d70154 (patch)
tree2e7c90efad5f8873e504fc43ad412da106c317d4
parentb0f8196667a9200696f787820178cf7cf2ab5abe (diff)
downloadgcc-1b3e32dcbfe7bef55f3cc71bb12aa61901d70154.zip
gcc-1b3e32dcbfe7bef55f3cc71bb12aa61901d70154.tar.gz
gcc-1b3e32dcbfe7bef55f3cc71bb12aa61901d70154.tar.bz2
basic-block.h (PROP_EQUAL_NOTES): Remove.
* basic-block.h (PROP_EQUAL_NOTES): Remove. * flow.c (propagate_one_insn): Don't use PROP_EQUAL_NOTES. From-SVN: r98193
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/basic-block.h1
-rw-r--r--gcc/flow.c5
3 files changed, 5 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 031ab57..e0784ef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index fcaa9a9..447438c 100644
--- a/gcc/basic-block.h
+++ b/gcc/basic-block.h
@@ -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. */
diff --git a/gcc/flow.c b/gcc/flow.c
index 2c7e84f..3251dd6 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -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. */