diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2011-08-26 14:21:19 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2011-08-26 14:21:19 +0000 |
commit | fd3e0a33c7df8b478e10c3d4ac6af11e77aae425 (patch) | |
tree | 0cab9d50b9f4c877ab6988f7c9a17ad52e97d70d | |
parent | 315036fe5403bf7fe49b4f569b645369c7989aac (diff) | |
download | gcc-fd3e0a33c7df8b478e10c3d4ac6af11e77aae425.zip gcc-fd3e0a33c7df8b478e10c3d4ac6af11e77aae425.tar.gz gcc-fd3e0a33c7df8b478e10c3d4ac6af11e77aae425.tar.bz2 |
df-problems.c (df_note_bb_compute): Pass uses rather than defs to df_set_dead_notes_for_mw.
gcc/
* df-problems.c (df_note_bb_compute): Pass uses rather than defs
to df_set_dead_notes_for_mw.
From-SVN: r178109
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/df-problems.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28c9d2f..dd737a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-08-26 Richard Sandiford <richard.sandiford@linaro.org> + + * df-problems.c (df_note_bb_compute): Pass uses rather than defs + to df_set_dead_notes_for_mw. + 2011-08-26 Richard Guenther <rguenther@suse.de> * varasm.c (decode_addr_const): Handle MEM_REF[&X, OFF]. diff --git a/gcc/df-problems.c b/gcc/df-problems.c index e547b67..8928454 100644 --- a/gcc/df-problems.c +++ b/gcc/df-problems.c @@ -3376,7 +3376,7 @@ df_note_bb_compute (unsigned int bb_index, while (*mws_rec) { struct df_mw_hardreg *mws = *mws_rec; - if ((DF_MWS_REG_DEF_P (mws)) + if (DF_MWS_REG_USE_P (mws) && !df_ignore_stack_reg (mws->start_regno)) { bool really_add_notes = debug_insn != 0; |