mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 18:07:56 +02:00
* m68k: don't attempt to copy less than 1 byte in g_concatcopy, this fixes tdfa7.pp on 68000 and removes some superfluous address processing on 68020+ in the same test
This commit is contained in:
parent
8f083f6342
commit
077a3f1892
@ -1772,6 +1772,9 @@ unit cgcpu;
|
||||
srcrefp,dstrefp : treference;
|
||||
srcref,dstref : treference;
|
||||
begin
|
||||
if (len < 1) then
|
||||
exit;
|
||||
|
||||
if (len = 1) or
|
||||
((len in [2,4]) and
|
||||
not needs_unaligned(source.alignment,lentocgsize[len]) and
|
||||
|
Loading…
Reference in New Issue
Block a user