Commit 37c5269a by Bernd Schmidt Committed by Bernd Schmidt

Fix a bug in preprocess_constraints

From-SVN: r32447
parent aa5524a9
2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk> 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
* recog.c (preprocess_constraints): Matching constraints affect
same alternative/different operand, not same operand/different
alternative.
* reload1.c (eliminate_regs_in_insn): Handle additions of eliminable * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
register and a constant specially. register and a constant specially.
......
...@@ -2131,7 +2131,7 @@ preprocess_constraints () ...@@ -2131,7 +2131,7 @@ preprocess_constraints ()
case '0': case '1': case '2': case '3': case '4': case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9': case '5': case '6': case '7': case '8': case '9':
op_alt[j].matches = c - '0'; op_alt[j].matches = c - '0';
op_alt[op_alt[j].matches].matched = i; recog_op_alt[op_alt[j].matches][j].matched = i;
break; break;
case 'm': case 'm':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment