Fix internal error by using same code to set checkoverflow variable as in powerpc/nppcadd unit

git-svn-id: trunk@42581 -
This commit is contained in:
pierre 2019-08-05 08:50:37 +00:00
parent 754b1bd930
commit 5a3883b1ab

View File

@ -219,7 +219,7 @@ begin
else
location_reset(location, LOC_FLAGS, OS_NO);
checkoverflow:=needoverflowcheck;
checkoverflow:= (nodetype in [addn,subn,muln]) and needoverflowcheck;
load_left_right(cmpop, checkoverflow);