]> gcc.gnu.org Git - gcc.git/commitdiff
recog.c (constrain_operands, case 'V'): Don't call offsettable_memref_p before reload...
authorJeff Law <law@gcc.gnu.org>
Tue, 12 Mar 1996 00:08:58 +0000 (17:08 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 12 Mar 1996 00:08:58 +0000 (17:08 -0700)
        * recog.c (constrain_operands, case 'V'): Don't call
        offsettable_memref_p before reload has completed.

From-SVN: r11515

gcc/recog.c

index 745d62881d27d6cd144d5ed0096fd4e6be26d151..c70320f0f3bc3ebe0642a29fc8bdd9e126770766 100644 (file)
@@ -1862,7 +1862,12 @@ constrain_operands (insn_code_num, strict)
 
              case 'V':
                if (GET_CODE (op) == MEM
-                   && ! offsettable_memref_p (op))
+                   && ((strict > 0 && ! offsettable_memref_p (op))
+                       || (strict < 0
+                           && !(CONSTANT_P (op) || GET_CODE (op) == MEM))
+                       || (reload_in_progress
+                           && !(GET_CODE (op) == REG
+                                && REGNO (op) >= FIRST_PSEUDO_REGISTER))))
                  win = 1;
                break;
 
This page took 0.055314 seconds and 5 git commands to generate.