mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 23:39:26 +02:00
* fixed web bug #4058 (missing swapleftright for subtraction if overflow
checking is turned on) git-svn-id: trunk@327 -
This commit is contained in:
parent
fe4e35d0cf
commit
2b4d3312f7
@ -778,6 +778,8 @@ interface
|
||||
subn :
|
||||
begin
|
||||
op:=OP_SUB;
|
||||
if (nf_swaped in flags) then
|
||||
swapleftright;
|
||||
end;
|
||||
ltn,lten,
|
||||
gtn,gten,
|
||||
@ -906,9 +908,6 @@ interface
|
||||
end;
|
||||
subn:
|
||||
begin
|
||||
if (nf_swaped in flags) then
|
||||
swapleftright;
|
||||
|
||||
if left.location.loc <> LOC_CONSTANT then
|
||||
begin
|
||||
if (location.register64.reglo = NR_NO) then
|
||||
|
Loading…
Reference in New Issue
Block a user