* fixed overflow in case of op_const64_reg_reg_reg(sub,low(int64),...)

git-svn-id: trunk@5821 -
This commit is contained in:
Jonas Maebe 2007-01-05 21:27:27 +00:00
parent efd1e86418
commit 85289e80ce

View File

@ -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