Flag -no opt causes internal error: with-loop with empty iteration space found
Version: sac2c 1.3.3-MijasCosta-705-g41ed2
Launch arguments: sac2c MWE.sac -no opt
Relevant output:
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