[AVR, 4.4] Fix PR target/34412
Anatoly Sokolov
aesok@post.ru
Sat Aug 22 20:16:00 GMT 2009
Hello.
The previous patch for AVR target bug "ICE in extract_insn, at
recog.c:1990" was incomplete, it is necessary to add the same change in
'expand_epilogue' function.
2008-01-28 Andy Hutchinson <hutchinsonandy@netscape.net>
PR target/34412
* config/avr/avr.c (expand_prologue): Use correct QI mode frame
pointer for tiny stack.
ChangeLog:
PR target/34412
* config/avr/avr.c (expand_epilogue): Use correct QI mode frame
pointer for tiny stack
Index: gcc/config/avr/avr.c
===================================================================
--- gcc/config/avr/avr.c (revision 150973)
+++ gcc/config/avr/avr.c (working copy)
@@ -996,7 +996,7 @@
start_sequence ();
emit_move_insn (myfp,
- gen_rtx_PLUS (HImode, myfp,
+ gen_rtx_PLUS (GET_MODE (myfp), myfp,
gen_int_mode (size,
GET_MODE(myfp))));
Anatoly.
More information about the Gcc-patches
mailing list