* update alignment when advancing offset to next element of array constructor node

git-svn-id: trunk@34279 -
This commit is contained in:
Jonas Maebe 2016-08-12 13:35:28 +00:00
parent 7678f5ecf0
commit 4e8bda76cb

View File

@ -1165,6 +1165,7 @@ implementation
procedure tcgarrayconstructornode.advancearrayoffset(var ref: treference; elesize: asizeint);
begin
ref.alignment:=newalignment(ref.alignment,elesize);
inc(ref.offset,elesize);
end;