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 417
    • Issues 417
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2042
Closed
Open
Created Nov 27, 2012 by Robert Bernecky@rbeDeveloper

LACSO/LACSI break stdlib shift() in AWLF Unit Test

Bugzilla Link 1037
Created on Nov 27, 2012 22:05
Resolution FIXED
Resolved on Nov 28, 2012 19:58
Version svn
OS Linux
Architecture PC
Attachments crudshift.sac

Extended Description

Created an attachment (id=940)
source code to reproduce fault
I just stumbled onto a problem with LACSO and LACSI, wherein they
scramble scalar result values coming in/out of CONDFUNs. 
Since both optimizations are currently disabled, this is not a big problem,
but it was a wee bit puzzling to figure out.
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 developer rev 18033 linux-gnu_x86_64
 (Tue Nov 27 16:57:29 EST 2012 by sac)
sac2c -v1 crudshift.sac -dolacsi -dolacso -nols
prints a vector of all 42s, which is certainly wrong
for "shift(2, 42, iota(50))". 
It works properly if you compile without the above options.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking