mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:19:25 +02:00
* Float constants must be pooled using their the actual type, not the mapped type of assembler instruction. Otherwise e.g. extended may be mixed up with cextended, because both are mapped to ait_real_80bit.
git-svn-id: trunk@17787 -
This commit is contained in:
parent
354eae1e6b
commit
3dba3a0219
@ -116,7 +116,7 @@ implementation
|
||||
type
|
||||
tfloatkey = record
|
||||
value: bestreal;
|
||||
aitype: taitype;
|
||||
typ: tfloattype;
|
||||
swapped: boolean;
|
||||
end;
|
||||
|
||||
@ -145,7 +145,7 @@ implementation
|
||||
{ there may be gap between record fields, zero it out }
|
||||
fillchar(key,sizeof(key),0);
|
||||
key.value:=value_real;
|
||||
key.aitype:=realait;
|
||||
key.typ:=tfloatdef(resultdef).floattype;
|
||||
{$ifdef ARM}
|
||||
key.swapped:=hiloswapped;
|
||||
{$endif ARM}
|
||||
|
Loading…
Reference in New Issue
Block a user