diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2012-02-22 09:25:35 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2012-02-22 09:25:35 +0000 |
commit | 0b262c28c6bc818e3b93577f0354b7d61cd23c84 (patch) | |
tree | d09627a405e1eed17dec350d03c873a0a6a03ea2 /gcc/tree-ssa.c | |
parent | 8d071654dcaf410e5aa9905676d26ff09b5f6a10 (diff) | |
download | gcc-0b262c28c6bc818e3b93577f0354b7d61cd23c84.zip gcc-0b262c28c6bc818e3b93577f0354b7d61cd23c84.tar.gz gcc-0b262c28c6bc818e3b93577f0354b7d61cd23c84.tar.bz2 |
re PR rtl-optimization/50063 (DSE: wrong code for gcc.dg/torture/pta-ptrarith-3.c)
PR rtl-optimization/50063
* config/avr/avr.md (movhi_sp_r): Handle -1 (unknown IRQ state)
and 2 (8-bit SP) in operand 2.
* config/avr/avr.c (avr_prologue_setup_frame): Adjust prologue
setup to use movhi_sp_r instead of vanilla move to write SP.
Adjust REG_CFA notes to superseed unspec.
(expand_epilogue): Adjust epilogue setup to use movhi_sp_r instead
of vanilla move.
As function body might contain CLI or SEI: Use irq_state 0 (IRQ
known to be off) only with TARGET_NO_INTERRUPTS. Never use
irq_state 1 (IRQ known to be on) here.
From-SVN: r184461
Diffstat (limited to 'gcc/tree-ssa.c')
0 files changed, 0 insertions, 0 deletions