aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-19 17:31:27 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-19 17:31:27 +0100
commitd8148c335bc63c84ff4e2b07d0a6cbe1ec014206 (patch)
tree03eb112757043db640ff0656e09666868f856e5b
parent05c630e2308f3d03cf741785a6cdc1f4258ab5e3 (diff)
downloadghdl-d8148c335bc63c84ff4e2b07d0a6cbe1ec014206.tar.gz
ghdl-d8148c335bc63c84ff4e2b07d0a6cbe1ec014206.tar.bz2
ghdl-d8148c335bc63c84ff4e2b07d0a6cbe1ec014206.zip
synth-stmts: allow slice within a record element. Fix #1100.
-rw-r--r--src/synth/synth-stmts.adb4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/synth/synth-stmts.adb b/src/synth/synth-stmts.adb
index f2d12adb4..066eea680 100644
--- a/src/synth/synth-stmts.adb
+++ b/src/synth/synth-stmts.adb
@@ -263,10 +263,6 @@ package body Synth.Stmts is
if Sl_Voff /= No_Net then
-- Variable slice.
- if Dest_Off /= 0 then
- -- Offset before slice is not yet handled.
- raise Internal_Error;
- end if;
Dest_Off := Dest_Off + Sl_Off;
if Dest_Voff /= No_Net then
Dest_Voff := Build_Addidx