mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 12:09:24 +02:00
+ insert type conversion for the div result when cpuneedsdiv32helper is used
git-svn-id: branches/i8086@23879 -
This commit is contained in:
parent
1dbca4c403
commit
a9640ad9c6
@ -433,6 +433,13 @@ implementation
|
|||||||
left := nil;
|
left := nil;
|
||||||
right := nil;
|
right := nil;
|
||||||
firstpass(result);
|
firstpass(result);
|
||||||
|
|
||||||
|
if result.resultdef.typ<>orddef then
|
||||||
|
internalerror(2013031701);
|
||||||
|
if resultdef.typ<>orddef then
|
||||||
|
internalerror(2013031701);
|
||||||
|
if torddef(result.resultdef).ordtype <> torddef(resultdef).ordtype then
|
||||||
|
inserttypeconv(result,resultdef);
|
||||||
end;
|
end;
|
||||||
{$else cpuneedsdiv32helper}
|
{$else cpuneedsdiv32helper}
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user