aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-05-03 16:57:04 +0200
committerTristan Gingold <tgingold@free.fr>2020-05-04 19:04:08 +0200
commit3629ed753e2a432d100b54bc94473ada803dc43c (patch)
treeeccae43128a71c34bd83cb47fd538eaf79204aaf /src
parent5693801bed998b29639898bec120b621ae8eb94f (diff)
downloadghdl-3629ed753e2a432d100b54bc94473ada803dc43c.tar.gz
ghdl-3629ed753e2a432d100b54bc94473ada803dc43c.tar.bz2
ghdl-3629ed753e2a432d100b54bc94473ada803dc43c.zip
synth-stmts: fix incorrect assumption for control logic.
Diffstat (limited to 'src')
-rw-r--r--src/synth/synth-stmts.adb5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/synth/synth-stmts.adb b/src/synth/synth-stmts.adb
index 6217cbbb6..c378b986b 100644
--- a/src/synth/synth-stmts.adb
+++ b/src/synth/synth-stmts.adb
@@ -2262,11 +2262,6 @@ package body Synth.Stmts is
Lc : constant Loop_Context_Acc := C.Cur_Loop;
Res : Net;
begin
- if not Lc.Need_Quit then
- -- No next/exit statement for this loop. So no control.
- return;
- end if;
-
-- Execution continue after this loop iff:
-- 1. Loop was enabled (Lc.Saved_En)
Res := Lc.Saved_En;