------- Comment #2 from rakdver at gcc dot gnu dot org 2006-02-11 18:23 -------
Could you please check whether the following patch fixes the problem?
I am not sure whether I would be able to build ada crosscompiler.
Index: loop-invariant.c
===================================================================
*** loop-invariant.c (revision 110850)
--- loop-invariant.c (working copy)
*************** static bool
*** 583,588 ****
--- 583,589 ----
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));
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26225