Flag -no opt causes internal error: with-loop with empty iteration space found
Version: sac2c 1.3.3-MijasCosta-705-g41ed2
sac2c MWE.sac -no opt
Internal compiler error Program reached impossible state at /builds/sac-group/build-sac-pkgs/sac2c/src/libsac2c/wltransform/wltransform.c:6970 -- with-loop with empty iteration space found!
Compiling the program with optimizations enabled builds the program without errors, as expected.
The minimum working example is attached as MWE.sac
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information