mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 17:40:28 +02:00
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:
parent
754b1bd930
commit
5a3883b1ab
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user