mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:49:22 +02:00
* set the alignment resulting from an aligned() call to the actual natural
alignment of the resultdef rather than to 0 (required for llvm, and cleaner since then the code generator knows the actual alignment) git-svn-id: trunk@34296 -
This commit is contained in:
parent
a83f3c1a45
commit
de465e056b
@ -151,7 +151,7 @@ implementation
|
|||||||
secondpass(tcallparanode(left).left);
|
secondpass(tcallparanode(left).left);
|
||||||
location:=tcallparanode(left).left.location;
|
location:=tcallparanode(left).left.location;
|
||||||
if location.loc in [LOC_CREFERENCE,LOC_REFERENCE] then
|
if location.loc in [LOC_CREFERENCE,LOC_REFERENCE] then
|
||||||
location.reference.alignment:=0;
|
location.reference.alignment:=resultdef.alignment;
|
||||||
end;
|
end;
|
||||||
{$ifdef SUPPORT_MMX}
|
{$ifdef SUPPORT_MMX}
|
||||||
in_mmx_pcmpeqb..in_mmx_pcmpgtw:
|
in_mmx_pcmpeqb..in_mmx_pcmpgtw:
|
||||||
|
Loading…
Reference in New Issue
Block a user