mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-08 17:57:23 +01:00
* fixed loading/storing of unaligned bitfields of size 2 to 7 bits
git-svn-id: trunk@6619 -
This commit is contained in:
parent
0cc43888e9
commit
25576b49ac
@ -1157,7 +1157,7 @@ implementation
|
|||||||
internalerror(2006081312);
|
internalerror(2006081312);
|
||||||
|
|
||||||
extra_load :=
|
extra_load :=
|
||||||
(intloadsize <> 1) and
|
(sref.bitlen <> 1) and
|
||||||
((sref.bitindexreg <> NR_NO) or
|
((sref.bitindexreg <> NR_NO) or
|
||||||
(byte(sref.startbit+sref.bitlen) > byte(intloadsize*8)));
|
(byte(sref.startbit+sref.bitlen) > byte(intloadsize*8)));
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user