aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-canon.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-07 08:21:18 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-07 08:21:18 +0200
commitfe420f2cd66a7769abdbdc804bb228b0105edb37 (patch)
tree7e5f7f27cac2b78e5d1e829202de8f9d01606364 /src/vhdl/vhdl-canon.adb
parent774dcd646151328991440b7b7c2cbaf750dcc2b6 (diff)
downloadghdl-fe420f2cd66a7769abdbdc804bb228b0105edb37.tar.gz
ghdl-fe420f2cd66a7769abdbdc804bb228b0105edb37.tar.bz2
ghdl-fe420f2cd66a7769abdbdc804bb228b0105edb37.zip
vhdl-evaluation: make overflow_literal non locally static.
Fix crash in translation (tentatively)
Diffstat (limited to 'src/vhdl/vhdl-canon.adb')
-rw-r--r--src/vhdl/vhdl-canon.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-canon.adb b/src/vhdl/vhdl-canon.adb
index 2a8ef8aa0..67d91478d 100644
--- a/src/vhdl/vhdl-canon.adb
+++ b/src/vhdl/vhdl-canon.adb
@@ -116,6 +116,9 @@ package body Vhdl.Canon is
end if;
case Get_Kind (Expr) is
+ when Iir_Kind_Overflow_Literal =>
+ null;
+
when Iir_Kind_Slice_Name =>
if not Is_Target and then
Get_Name_Staticness (Expr) >= Globally