aboutsummaryrefslogtreecommitdiff
path: root/gcc/dse.c
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@nildram.co.uk>2007-09-17 23:41:36 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-09-17 23:41:36 +0000
commitc9b69ba2588ce02e591c0a7af0a7ae901f66d8a5 (patch)
tree8faead7c948ef1e160fbfaebf4e7d1cfab4b0b37 /gcc/dse.c
parenta765d68e7584986e90b901e453e18c3aa34f9560 (diff)
downloadgcc-c9b69ba2588ce02e591c0a7af0a7ae901f66d8a5.zip
gcc-c9b69ba2588ce02e591c0a7af0a7ae901f66d8a5.tar.gz
gcc-c9b69ba2588ce02e591c0a7af0a7ae901f66d8a5.tar.bz2
df-scan.c (df_notes_rescan): Do nothing if the instruction does not yet have a basic block.
gcc/ * df-scan.c (df_notes_rescan): Do nothing if the instruction does not yet have a basic block. * dse.c (find_shift_sequence): Don't set DF_NO_INSN_RESCAN. From-SVN: r128563
Diffstat (limited to 'gcc/dse.c')
-rw-r--r--gcc/dse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/dse.c b/gcc/dse.c
index 1aa1598..a957783 100644
--- a/gcc/dse.c
+++ b/gcc/dse.c
@@ -1428,10 +1428,8 @@ find_shift_sequence (rtx read_reg,
/* In theory we could also check for an ashr. Ian Taylor knows
of one dsp where the cost of these two was not the same. But
this really is a rare case anyway. */
- df_set_flags (DF_NO_INSN_RESCAN);
target = expand_binop (new_mode, lshr_optab, new_reg,
GEN_INT (shift), new_reg, 1, OPTAB_DIRECT);
- df_clear_flags (DF_NO_INSN_RESCAN);
if (target == new_reg)
{