Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 336
    • Issues 336
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1975

Closed
Open
Created Aug 30, 2011 by Robert Bernecky@rbeDeveloper

New TRAV mech fails on nested LOCALFNS

Bugzilla Link 866
Created on Aug 30, 2011 19:13
Resolution INVALID
Resolved on Aug 30, 2011 19:59
Version svn
OS Linux
Architecture PC
Attachments bug650Bivecyc.sac

Extended Description

Created an attachment (id=816)
source code to reproduce failure
I changed CWLE to use the new TRAV() mechanism, but 
there's a small problem with it:
When it invokes a LACFUN, that LACFUN's FUNDEF_LOCALFNS
node is NULL, even when it has a LOCALFUN.
In this case, a COND fun invokes a LOOP() fun, but 
said LOOP() fun does not appear in the COND()'s LOCALFNS
list (It's NULL).
cd ~/sac/testsuite/optimizations/cwle
sac2c -nocyc -noawlf -nowlf bug650Bivecyc.sac
will do the job for you.
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 developer rev 17581:MODIFIED linux-gnu_x86_64
 (Tue Aug 30 13:55:04 EDT 2011 by sac)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking