reload1.c (choose_reload_regs): Use && instead of || with REG_CANNOT_CHANGE_MODE_P condition.

2003-03-15  Glen Nakamura  <glen@imodulo.com>

	* reload1.c (choose_reload_regs): Use && instead of ||
	with REG_CANNOT_CHANGE_MODE_P condition.

From-SVN: r64399
This commit is contained in:
Glen Nakamura 2003-03-15 14:06:01 +01:00 committed by Andreas Jaeger
parent c1bad961ed
commit 1fe668e5e3
2 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2003-03-15 Glen Nakamura <glen@imodulo.com>
* reload1.c (choose_reload_regs): Use && instead of ||
with REG_CANNOT_CHANGE_MODE_P condition.
2003-03-15 Neil Booth <neil@daikokuya.co.uk>
* Makefile.in: Update.

View File

@ -5503,7 +5503,7 @@ choose_reload_regs (chain)
#ifdef CANNOT_CHANGE_MODE_CLASS
(!REG_CANNOT_CHANGE_MODE_P (i, GET_MODE (last_reg),
need_mode)
||
&&
#endif
(GET_MODE_SIZE (GET_MODE (last_reg))
>= GET_MODE_SIZE (need_mode))