mirror of git://gcc.gnu.org/git/gcc.git
re PR target/51050 ([AVR, attiny26] ICE: invalid rtl sharing found in the insn)
PR target/51050 * config/avr/avr.c (expand_epilogue): Don't build SUBREG of fp. (avr_prologue_setup_frame): Ditto. From-SVN: r182363
This commit is contained in:
parent
0c1e1df880
commit
4e15cee6c7
|
@ -1,3 +1,9 @@
|
|||
2011-12-15 Georg-Johann Lay <avr@gjlay.de>
|
||||
|
||||
PR target/51050
|
||||
* config/avr/avr.c (expand_epilogue): Don't build SUBREG of fp.
|
||||
(avr_prologue_setup_frame): Ditto.
|
||||
|
||||
2011-12-15 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR debug/51517
|
||||
|
|
|
@ -994,7 +994,7 @@ avr_prologue_setup_frame (HOST_WIDE_INT size, HARD_REG_SET set)
|
|||
/* The high byte (r29) does not change:
|
||||
Prefer SUBI (1 cycle) over ABIW (2 cycles, same size). */
|
||||
|
||||
my_fp = simplify_gen_subreg (QImode, fp, Pmode, 0);
|
||||
my_fp = all_regs_rtx[FRAME_POINTER_REGNUM];
|
||||
}
|
||||
|
||||
/************ Method 1: Adjust frame pointer ************/
|
||||
|
@ -1292,7 +1292,7 @@ expand_epilogue (bool sibcall_p)
|
|||
/* The high byte (r29) does not change:
|
||||
Prefer SUBI (1 cycle) over SBIW (2 cycles). */
|
||||
|
||||
my_fp = simplify_gen_subreg (QImode, fp, Pmode, 0);
|
||||
my_fp = all_regs_rtx[FRAME_POINTER_REGNUM];
|
||||
}
|
||||
|
||||
/********** Method 1: Adjust fp register **********/
|
||||
|
|
Loading…
Reference in New Issue