diff options
author | Richard Stallman <rms@gnu.org> | 1992-01-31 05:14:10 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-01-31 05:14:10 +0000 |
commit | 4db18574822dcfa3ba6307e24dbf5938782d0292 (patch) | |
tree | c511a653c74e7b9b167214936b05e2a7f211ea9e /gcc | |
parent | ff57c94ea842e90d47db3a483c99b5fe6338c627 (diff) | |
download | gcc-4db18574822dcfa3ba6307e24dbf5938782d0292.zip gcc-4db18574822dcfa3ba6307e24dbf5938782d0292.tar.gz gcc-4db18574822dcfa3ba6307e24dbf5938782d0292.tar.bz2 |
*** empty log message ***
From-SVN: r258
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/regclass.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index 76df1e4..5a4d72f 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: |