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
  • #1109
Closed
Open
Created Feb 10, 2012 by Robert Bernecky@rbeDeveloper

-profile dies in fun2lac.

Bugzilla Link 908
Created on Feb 10, 2012 17:00
Version svn
OS Linux
Architecture PC

Extended Description

No idea how long this has been broken. The problem lies in fun2lac,
but I have no idea how to fix it.
cat crud2.sac
use Array:{<,++,+};
int main()
{
  x = [2,3,5];
  z = 0;
  for( i=0; i<3; i++) {
    z = z + _sel_VxA_([i], x);
  }
  StdIO::print(z);
  return(0);
}
sac2c crud2.sac -v1 -profile l
flatten/fun2lac.c:293 Assertion "FALSE" failed!
Control flow should not reach here
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 developer rev 17728 linux-gnu_x86_64
 (Fri Feb 10 11:48:32 EST 2012 by sac)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking