projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff57c94
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Fri, 31 Jan 1992 05:14:10 +0000
(
05:14
+0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 31 Jan 1992 05:14:10 +0000
(
05:14
+0000)
From-SVN: r258
gcc/regclass.c
patch
|
blob
|
history
diff --git
a/gcc/regclass.c
b/gcc/regclass.c
index 76df1e486ef8b7866db72b53bcf772180c996522..5a4d72fe4a1d6a25db9ac78ba0fc67e56f7e3049 100644
(file)
--- 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: