mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 23:09:40 +02:00
* check alignment properly in CompareDWord for 64 bit targets
git-svn-id: trunk@36656 -
This commit is contained in:
parent
567dfef9a7
commit
16c9a2260d
@ -603,6 +603,7 @@ begin
|
||||
pdest:=@buf2;
|
||||
if (len>4*sizeof(ptruint)-11)
|
||||
{$ifdef FPC_REQUIRES_PROPER_ALIGNMENT}
|
||||
and ((PtrUInt(pdest) and (sizeof(PtrUInt)-1))=(PtrUInt(psrc) and (sizeof(PtrUInt)-1)))
|
||||
and (((PtrUInt(pdest) and 3) or (PtrUInt(psrc) and 3))=0)
|
||||
{$endif FPC_REQUIRES_PROPER_ALIGNMENT}
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user