summaryrefslogtreecommitdiff
path: root/compiler/hlcgobj.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-02-03 21:05:37 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2019-02-03 21:05:37 +0000
commit116021fba838611ecef0e89d9d3b0f7c252751d2 (patch)
treea37a769c1d4c6161bd459568e9dc02b80cf2d6c9 /compiler/hlcgobj.pas
parentac54f163518d48be6d5a63d4d3551fe1cfbe7288 (diff)
parent5e41d47bcd18ffcb38ed848d44efebbfad6ffdd6 (diff)
downloadfpc-116021fba838611ecef0e89d9d3b0f7c252751d2.tar.gz
* synchronised with trunk till r41207
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/debug_eh@41208 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/hlcgobj.pas')
-rw-r--r--compiler/hlcgobj.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/hlcgobj.pas b/compiler/hlcgobj.pas
index 607dfa1694..427a9a1d35 100644
--- a/compiler/hlcgobj.pas
+++ b/compiler/hlcgobj.pas
@@ -3502,7 +3502,9 @@ implementation
procedure thlcgobj.g_rangecheck(list: TAsmList; const l: tlocation; fromdef, todef: tdef);
var
-{$if defined(cpu64bitalu) or defined(cpu32bitalu)}
+{$if defined(cpuhighleveltarget)}
+ aintmax: tcgint;
+{$elseif defined(cpu64bitalu) or defined(cpu32bitalu)}
aintmax: aint;
{$else}
aintmax: longint;