From 4b06592a972e78c230f9c16a4bc572c2385cce77 Mon Sep 17 00:00:00 2001 From: Zdenek Dvorak Date: Mon, 13 Feb 2006 01:02:37 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/loop-invariant.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90192ead5f0..d68c547052c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-02-12 Zdenek Dvorak + + PR rtl-optimization/26225 + * loop-invariant.c (may_assign_reg_p): Do not allow BLKmode operands. + 2006-02-12 Zdenek Dvorak PR rtl-optimization/26232 diff --git a/gcc/loop-invariant.c b/gcc/loop-invariant.c index f7037474b3a..fd787a99346 100644 --- a/gcc/loop-invariant.c +++ b/gcc/loop-invariant.c @@ -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)); -- 2.30.2