aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-14 06:39:53 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-14 06:39:53 +0100
commit279fcbc246fc6438756b76cd4d3d5f1f3e4e1463 (patch)
tree3a11f301175db7618893a14726a1bf55e2e802c1 /src/ghdldrv
parentfe338385f6c077e5b55b1fa2fc0fe4033894857d (diff)
downloadghdl-279fcbc246fc6438756b76cd4d3d5f1f3e4e1463.tar.gz
ghdl-279fcbc246fc6438756b76cd4d3d5f1f3e4e1463.tar.bz2
ghdl-279fcbc246fc6438756b76cd4d3d5f1f3e4e1463.zip
Fix overflow detection for **, implement ** for i64.
Fix #683
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdlrun.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlrun.adb b/src/ghdldrv/ghdlrun.adb
index d612095f7..9d1e14343 100644
--- a/src/ghdldrv/ghdlrun.adb
+++ b/src/ghdldrv/ghdlrun.adb
@@ -318,8 +318,10 @@ package body Ghdlrun is
Grt.Lib.Ghdl_Deallocate'Address);
Def (Trans_Decls.Ghdl_Real_Exp,
Grt.Lib.Ghdl_Real_Exp'Address);
- Def (Trans_Decls.Ghdl_Integer_Exp,
- Grt.Lib.Ghdl_Integer_Exp'Address);
+ Def (Trans_Decls.Ghdl_I32_Exp,
+ Grt.Lib.Ghdl_I32_Exp'Address);
+ Def (Trans_Decls.Ghdl_I64_Exp,
+ Grt.Lib.Ghdl_I64_Exp'Address);
Def (Trans_Decls.Ghdl_Sensitized_Process_Register,
Grt.Processes.Ghdl_Sensitized_Process_Register'Address);