*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Fri, 31 Jan 1992 05:14:10 +0000 (05:14 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 31 Jan 1992 05:14:10 +0000 (05:14 +0000)
From-SVN: r258

gcc/regclass.c

index 76df1e4..5a4d72f 100644 (file)
@@ -718,7 +718,11 @@ reg_class_record (op, opno, constraints)
        case '4':
          /* If constraint says "match another operand",
             use that operand's constraint to choose preferences.  */
-         next = constraints[*p - '0'];
+         if (*p - '0' < opno)
+           {
+             opno = *p - '0';
+             next = constraints[opno];
+           }
          break;
 
        default: