mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 10:19:30 +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;
|
||||
right := nil;
|
||||
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;
|
||||
{$else cpuneedsdiv32helper}
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user