flow.c (mark_set_1): Handle CLOBBERs like SETs if the register is live afterwards.

2005-11-09  Andreas Krebbel  <krebbel1@de.ibm.com>

	* flow.c (mark_set_1): Handle CLOBBERs like SETs if the register
	is live afterwards.

From-SVN: r106686
This commit is contained in:
Andreas Krebbel 2005-11-09 11:34:56 +00:00 committed by Andreas Krebbel
parent f98ae2abfb
commit 7221b4a18c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-11-09 Andreas Krebbel <krebbel1@de.ibm.com>
* flow.c (mark_set_1): Handle CLOBBERs like SETs if the register
is live afterwards.
2005-11-08 Bernd Schmidt <bernd.schmidt@analog.com>
* config/bfin/t-bfin-elf (MULTILIB_OPTIONS, MULTILIB_DEFAULTS,

View File

@ -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;