re PR rtl-optimization/26225 (GCC error: in emit_move_multi_word, at expr.c:3053)

PR rtl-optimization/26225
	* loop-invariant.c (may_assign_reg_p): Do not allow BLKmode operands.

From-SVN: r110898
This commit is contained in:
Zdenek Dvorak 2006-02-13 01:02:37 +01:00 committed by Zdenek Dvorak
parent 00f70f98e9
commit 4b06592a97
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-02-12 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/26225
* loop-invariant.c (may_assign_reg_p): Do not allow BLKmode operands.
2006-02-12 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/26232

View File

@ -583,6 +583,7 @@ static bool
may_assign_reg_p (rtx x)
{
return (can_copy_p (GET_MODE (x))
&& GET_MODE (x) != BLKmode
&& (!REG_P (x)
|| !HARD_REGISTER_P (x)
|| REGNO_REG_CLASS (REGNO (x)) != NO_REGS));