Also disable overflow where range check is disabled in aasmcpu unit

git-svn-id: trunk@29989 -
This commit is contained in:
pierre 2015-02-24 15:58:49 +00:00
parent 422df4bc77
commit da55d9ded2

View File

@ -1212,7 +1212,7 @@ implementation
currsym:=objdata.symbolref(ref^.symbol);
l:=ref^.offset;
{$push}
{$r-}
{$r-,q-} { disable also overflow as address returns a qword for x86_64 }
if assigned(currsym) then
inc(l,currsym.address);
{$pop}
@ -2786,7 +2786,7 @@ implementation
getvalsym(c-40);
data:=currval-insend;
{$push}
{$r-}
{$r-,q-} { disable also overflow as address returns a qword for x86_64 }
if assigned(currsym) then
inc(data,currsym.address);
{$pop}