diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-29 07:05:23 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-29 07:05:23 +0000 |
commit | 788925c2235f1f2f6ba2b70358ef6c39eb3e1b28 (patch) | |
tree | 4d5d67e3e032c9b89426331a4b5b9b273b7813c9 /gcc/df-problems.c | |
parent | 499e523fe9ecda106a5d7fa62f9f69a2c38655e1 (diff) | |
download | gcc-788925c2235f1f2f6ba2b70358ef6c39eb3e1b28.tar.gz |
gcc/
* df-problems.c (df_set_unused_notes_for_mw): Fix formatting.
(df_set_dead_notes_for_mw): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-problems.c')
-rw-r--r-- | gcc/df-problems.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/gcc/df-problems.c b/gcc/df-problems.c index 6097908e654..f286f4fbefe 100644 --- a/gcc/df-problems.c +++ b/gcc/df-problems.c @@ -3757,11 +3757,10 @@ df_set_unused_notes_for_mw (rtx insn, rtx old, struct df_mw_hardreg *mws, /* Only do this if the value is totally dead. */ } else - for (r=mws->start_regno; r <= mws->end_regno; r++) + for (r = mws->start_regno; r <= mws->end_regno; r++) { - - if ((!bitmap_bit_p (live, r)) - && (!bitmap_bit_p (artificial_uses, r))) + if (!bitmap_bit_p (live, r) + && !bitmap_bit_p (artificial_uses, r)) { old = df_set_note (REG_UNUSED, insn, old, regno_reg_rtx[r]); #ifdef REG_DEAD_DEBUGGING @@ -3823,17 +3822,15 @@ df_set_dead_notes_for_mw (rtx insn, rtx old, struct df_mw_hardreg *mws, else { for (r = mws->start_regno; r <= mws->end_regno; r++) - { - if ((!bitmap_bit_p (live, r)) - && (!bitmap_bit_p (artificial_uses, r)) - && (!bitmap_bit_p (do_not_gen, r))) - { - old = df_set_note (REG_DEAD, insn, old, regno_reg_rtx[r]); + if (!bitmap_bit_p (live, r) + && !bitmap_bit_p (artificial_uses, r) + && !bitmap_bit_p (do_not_gen, r)) + { + old = df_set_note (REG_DEAD, insn, old, regno_reg_rtx[r]); #ifdef REG_DEAD_DEBUGGING - df_print_note ("adding 2: ", insn, REG_NOTES (insn)); + df_print_note ("adding 2: ", insn, REG_NOTES (insn)); #endif - } - } + } } return old; } |