mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-06 05:16:30 +02:00
* also disable range check where overflow check is disabled
git-svn-id: trunk@14852 -
This commit is contained in:
parent
0d098f2dba
commit
bc407ef6d3
@ -3459,6 +3459,10 @@ implementation
|
|||||||
{$ifopt Q+}
|
{$ifopt Q+}
|
||||||
{$define overflowon}
|
{$define overflowon}
|
||||||
{$Q-}
|
{$Q-}
|
||||||
|
{$endif}
|
||||||
|
{$ifopt R+}
|
||||||
|
{$define rangeon}
|
||||||
|
{$R-}
|
||||||
{$endif}
|
{$endif}
|
||||||
if to_signed then
|
if to_signed then
|
||||||
begin
|
begin
|
||||||
@ -3481,6 +3485,10 @@ implementation
|
|||||||
{$ifdef overflowon}
|
{$ifdef overflowon}
|
||||||
{$Q+}
|
{$Q+}
|
||||||
{$undef overflowon}
|
{$undef overflowon}
|
||||||
|
{$endif}
|
||||||
|
{$ifdef rangeon}
|
||||||
|
{$R+}
|
||||||
|
{$undef rangeon}
|
||||||
{$endif}
|
{$endif}
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user