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
  • #1203
Closed
Open
Created Nov 13, 2011 by Robert Bernecky@rbeDeveloper

-noprelude and fun-based cycle phase do not play well together

Bugzilla Link 888
Created on Nov 13, 2011 22:06
Version svn
OS Linux
Architecture PC

Extended Description

sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 developer rev 17702:MODIFIED linux-gnu_x86_64
 (Sun Nov 13 11:20:25 EST 2011 by sac)
If I do this compile, all is well:
sac2c bug877.sac  -ecc  -doawlf
But if I do this, we get a crash:
sac2c bug877.sac  -ecc  -doawlf -v0 -noprelude
global/phase.c:490 Assertion "FUNDEF_NEXT( fundef) == NULL" failed!
Fun-based cycle phase returned more than one fundef.
AWLFI is generating inlined function calls within the current fundef.
If sacprelude is present, things are OK, but if not, 
FUNDEF_NEXT( fundef) gets element(s) appended to it.
Not a clue as to how to address this. It's not a big deal
usually, but sometimes, it's nice to be able to compile
with -noprelude, particularly when debugging.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking