[committed] Fix typo in reload_in/out changes
Richard Sandiford
richard@codesourcery.com
Wed Dec 7 09:48:00 GMT 2005
The recent(ish) reload changes contained a typo that stopped frv-elf
from building. When testing the section rework, I was using the patch
below to get around this. It makes frv-elf build again (at least to
xgcc/cc1/cc1plus) and was bootstrapped & regression tested on
x86_64-linux-gnu. Installed as obvious.
Richard
* gcc/reload.c (push_secondary_reload): Fix typo:
s/insn_constraint/scratch_constraint/.
Index: gcc/reload.c
===================================================================
--- gcc/reload.c (revision 108153)
+++ gcc/reload.c (working copy)
@@ -379,7 +379,7 @@ push_secondary_reload (int in_p, rtx x,
letter = *scratch_constraint;
scratch_class = (letter == 'r' ? GENERAL_REGS
: REG_CLASS_FROM_CONSTRAINT ((unsigned char) letter,
- insn_constraint));
+ scratch_constraint));
class = scratch_class;
mode = insn_data[(int) icode].operand[2].mode;
More information about the Gcc-patches
mailing list