mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:09:20 +02:00
* dword-dword now gives dword
git-svn-id: trunk@78 -
This commit is contained in:
parent
b0545a7a04
commit
ac0277b40b
@ -1001,10 +1001,8 @@ implementation
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
{ When there is a signed type we convert to signed int.
|
{ When there is a signed type we convert to signed int.
|
||||||
Otherwise (both are unsigned) we keep the result also unsigned.
|
Otherwise (both are unsigned) we keep the result also unsigned }
|
||||||
Exception is substraction, that also gives an signed result }
|
if (is_signed(ld) or is_signed(rd)) then
|
||||||
if (nodetype=subn) or
|
|
||||||
(is_signed(ld) or is_signed(rd)) then
|
|
||||||
begin
|
begin
|
||||||
inserttypeconv(right,sinttype);
|
inserttypeconv(right,sinttype);
|
||||||
inserttypeconv(left,sinttype);
|
inserttypeconv(left,sinttype);
|
||||||
|
Loading…
Reference in New Issue
Block a user