------- Comment #6 from ubizjak at gmail dot com  2010-08-01 11:41 -------
FYI, following shoot-in-the-dark patch didn't help, but I guess it is needed
together with some further reload surgery:

Index: gensupport.c
===================================================================
--- gensupport.c        (revision 162794)
+++ gensupport.c        (working copy)
@@ -1050,7 +1050,7 @@ static const struct std_pred_table std_p
   {"address_operand", true, true, {SUBREG, REG, MEM, PLUS, MINUS, MULT}},
   {"register_operand", false, false, {SUBREG, REG}},
   {"pmode_register_operand", true, false, {SUBREG, REG}},
-  {"scratch_operand", false, false, {SCRATCH, REG}},
+  {"scratch_operand", false, false, {SCRATCH, SUBREG, REG}},
   {"immediate_operand", false, true, {UNKNOWN}},
   {"const_int_operand", false, false, {CONST_INT}},
   {"const_double_operand", false, false, {CONST_INT, CONST_DOUBLE}},


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44031

Reply via email to