summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-09 11:34:56 +0000
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-09 11:34:56 +0000
commit4667519cca8f7b7aa1a4cef6e740725ad110b7bf (patch)
tree071d7820ff54f18fc2f96b4ce41a36a2ba6ebccc /gcc/flow.c
parentb6f349e6c03110e883d24e3aa6a102fff6ba24a2 (diff)
downloadgcc-4667519cca8f7b7aa1a4cef6e740725ad110b7bf.tar.gz
2005-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* flow.c (mark_set_1): Handle CLOBBERs like SETs if the register is live afterwards. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106686 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 1fc88b64f1f..bdb40323b02 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -2816,7 +2816,7 @@ mark_set_1 (struct propagate_block_info *pbi, enum rtx_code code, rtx reg, rtx c
else
SET_REGNO_REG_SET (pbi->local_set, i);
}
- if (code != CLOBBER)
+ if (code != CLOBBER || needed_regno)
SET_REGNO_REG_SET (pbi->new_set, i);
some_was_live |= needed_regno;