aboutsummaryrefslogtreecommitdiff
path: root/gcc/regclass.c
diff options
context:
space:
mode:
authorBernd Schmidt <crux@pool.informatik.rwth-aachen.de>1998-10-07 03:50:05 -0600
committerJeff Law <law@gcc.gnu.org>1998-10-07 03:50:05 -0600
commitd143a8907abfc4e4480c67dd127db1596ffd4f9c (patch)
tree9893083db6aa42f9eba74e6a249f517dd5cf5d96 /gcc/regclass.c
parent237228c033a9e9ee5fb145dbc961a41badcbda92 (diff)
downloadgcc-d143a8907abfc4e4480c67dd127db1596ffd4f9c.zip
gcc-d143a8907abfc4e4480c67dd127db1596ffd4f9c.tar.gz
gcc-d143a8907abfc4e4480c67dd127db1596ffd4f9c.tar.bz2
jump.c (duplicate_loop_exit_test): Strip REG_WAS_0 notes off all insns we're going to copy.
* jump.c (duplicate_loop_exit_test): Strip REG_WAS_0 notes off all insns we're going to copy. * regclass.c (reg_scan_mark_refs): Don't test X for NULL_RTX. From-SVN: r22887
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r--gcc/regclass.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c
index 793c9ac..cd882df 100644
--- a/gcc/regclass.c
+++ b/gcc/regclass.c
@@ -1995,13 +1995,6 @@ reg_scan_mark_refs (x, insn, note_flag, min_regno)
register rtx dest;
register rtx note;
- /* This can happen when scanning insns referenced by certain notes.
-
- It is unclear if we should be scanning such insns; until someone can
- say for sure this seems like the safest fix. */
- if (x == NULL_RTX)
- return;
-
code = GET_CODE (x);
switch (code)
{