mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 06:10:34 +01:00
* don't apply typesize of record if a field size is applied
git-svn-id: trunk@4971 -
This commit is contained in:
parent
21d186594c
commit
076fb20774
@ -1534,6 +1534,8 @@ Unit Rax86int;
|
||||
begin
|
||||
BuildRecordOffsetSize(expr,toffset,tsize);
|
||||
oper.SetSize(tsize,true);
|
||||
{ we have used the size of a field. Reset the typesize of the record }
|
||||
oper.typesize:=0;
|
||||
case oper.opr.typ of
|
||||
OPR_LOCAL :
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user