mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 18:26:08 +01:00
m68k: fixed a bug, where during during unaligned stores, the base address was preinitalized to a temp address register from the wrong reference, causing havoc
git-svn-id: trunk@34584 -
This commit is contained in:
parent
c0fb39607f
commit
def4df9791
@ -796,7 +796,7 @@ unit cgcpu;
|
||||
tmpreg2:=getaddressregister(list);
|
||||
tmpref:=ref;
|
||||
inc(tmpref.offset,tcgsize2size[tosize]-1);
|
||||
a_loadaddr_ref_reg(list,ref,tmpreg2);
|
||||
a_loadaddr_ref_reg(list,tmpref,tmpreg2);
|
||||
reference_reset_base(tmpref,tmpreg2,0,1);
|
||||
tmpref.direction:=dir_none;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user