mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
* fixed overflow in case of op_const64_reg_reg_reg(sub,low(int64),...)
git-svn-id: trunk@5821 -
This commit is contained in:
parent
efd1e86418
commit
85289e80ce
@ -2248,7 +2248,8 @@ const
|
||||
end;
|
||||
OP_ADD, OP_SUB:
|
||||
begin
|
||||
if (value < 0) then
|
||||
if (value < 0) and
|
||||
(value <> low(value)) then
|
||||
begin
|
||||
if op = OP_ADD then
|
||||
op := OP_SUB
|
||||
|
Loading…
Reference in New Issue
Block a user