reload1.c (reload_combine): Don't enable optimization for fixed registers when encountering a BARRIER.

* reload1.c (reload_combine): Don't enable optimization for fixed
	registers when encountering a BARRIER.

From-SVN: r33108
This commit is contained in:
J"orn Rennecke 2000-04-12 15:04:25 +00:00 committed by Joern Rennecke
parent 8878e9133e
commit 894a51411a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (reload_combine): Don't enable optimization for fixed
registers when encountering a BARRIER.
Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
* builtins.c (expand_builtin_memcmp): Do expansion even with

View File

@ -8447,7 +8447,8 @@ reload_combine ()
if (GET_CODE (insn) == BARRIER)
{
for (i = FIRST_PSEUDO_REGISTER - 1; i >= 0; --i)
reg_state[i].use_index = RELOAD_COMBINE_MAX_USES;
if (! fixed_regs[i])
reg_state[i].use_index = RELOAD_COMBINE_MAX_USES;
}
if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
continue;