]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
df-problems.c (df_note_bb_compute): Pass uses rather than defs to df_set_dead_notes_f...
authorRichard Sandiford <richard.sandiford@linaro.org>
Fri, 26 Aug 2011 14:21:19 +0000 (14:21 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 26 Aug 2011 14:21:19 +0000 (14:21 +0000)
gcc/
* df-problems.c (df_note_bb_compute): Pass uses rather than defs
to df_set_dead_notes_for_mw.

From-SVN: r178109

gcc/ChangeLog
gcc/df-problems.c

index 28c9d2f510745b2482305e2715e7122c9c27c450..dd737a1566aa9e3ee61228e1319d67a1a018ac19 100644 (file)
@@ -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].
index e547b67c55ff50a54f8f7ffcff05e6ae1e89a218..892845413949c965cb9d29fd82dd5dce9883b614 100644 (file)
@@ -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;