Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 401
    • Issues 401
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2280
Closed
Open
Created Jan 11, 2022 by Michiel Verloop@MVerloopMaintainer

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

Edited Jan 11, 2022 by Michiel Verloop
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking