aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.cc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2024-12-12 16:13:39 +0100
committerGeorg-Johann Lay <avr@gjlay.de>2024-12-12 16:27:53 +0100
commitc94ac10ffc422d4c9a28266b1340382d69518464 (patch)
tree0a503e382f2844d58b00232ab87fdd4b14445f10 /gcc/c/c-parser.cc
parent3eb6e1e3335fe0aabc79e75bf4d71366727c3971 (diff)
downloadgcc-c94ac10ffc422d4c9a28266b1340382d69518464.zip
gcc-c94ac10ffc422d4c9a28266b1340382d69518464.tar.gz
gcc-c94ac10ffc422d4c9a28266b1340382d69518464.tar.bz2
AVR: target/118000 - Fix copymem from address-spaces.
* rampz_rtx et al. were missing MEM_VOLATILE_P. This is needed because avr_emit_cpymemhi is setting RAMPZ explicitly with an own insn. * avr_out_cpymem was missing a final RAMPZ = 0 on EBI devices. This only affects the __flash1 ... __flash5 spaces since the other ASes use different routines, gcc/ PR target/118000 * config/avr/avr.cc (avr_init_expanders) <sreg_rtx> <rampd_rtx, rampx_rtx, rampy_rtx, rampz_rtx>: Set MEM_VOLATILE_P. (avr_out_cpymem) [ELPM && EBI]: Restore RAMPZ to 0 after.
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions