diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-07-07 08:21:18 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-07-07 08:21:18 +0200 |
commit | fe420f2cd66a7769abdbdc804bb228b0105edb37 (patch) | |
tree | 7e5f7f27cac2b78e5d1e829202de8f9d01606364 /src/vhdl/vhdl-canon.adb | |
parent | 774dcd646151328991440b7b7c2cbaf750dcc2b6 (diff) | |
download | ghdl-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.adb | 3 |
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 |