From: Richard Stallman Date: Fri, 31 Jan 1992 05:14:10 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~13673 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4db18574822dcfa3ba6307e24dbf5938782d0292;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r258 --- diff --git a/gcc/regclass.c b/gcc/regclass.c index 76df1e486ef8..5a4d72fe4a1d 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -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: