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 403
    • Issues 403
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2080
Closed
Open
Created Jul 01, 2008 by Sven-Bodo Scholz@sbsOwner

tree gets muddled up by CF; problem with idx_shape_sel

Bugzilla Link 444
Created on Jul 01, 2008 11:00
Resolution FIXED
Resolved on Jul 02, 2008 05:53
Version 1.00beta
OS Linux
Architecture PC
Attachments tutu.sac

Extended Description

Created an attachment (id=481)
source code
Here is a small example for a CF problem. Unfortunately, it only arises
if you a) update to rev 15749 and b) modify constant_folding.c in line 224
from  INFO_LACFUNOK( arg_info)  = TRUE;
into  INFO_LACFUNOK( arg_info)  = FALSE;
After that you cannot create the prelude anymore!!!
But you can compile the attached example with 
sac2c tutu.sac -b11:cyc:wlpr:1 -noprelude   and with
sac2c tutu.sac -b11:cyc:cf:1 -noprelude
You will see a difference in the else branch of the conditional in xxx_Cond_0!
If you try to compile further by
 
sac2c tutu.sac -b11:cyc:dcr:1 -noprelude  printing goes badaboom
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking