This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[AVR, 4.4] Fix PR target/34412


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.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]