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
  • #1524
Closed
Open
Created Jun 10, 2003 by Stephan Herhut@sahGuest

print.c array printing bug

Bugzilla Link 14
Created on Jun 10, 2003 14:42
Resolution FIXED
Resolved on Jun 11, 2003 17:14
Version 1.00beta
OS SunOS
Architecture Sun

Extended Description

compiler segfaults when printing arrays.
how to reproduce:
compile the following code with sac2c -b2 
int main()
{
  v = [1,2,3,4];
  m = [v, v, v];
  a = [m,m];
  tmp = {[k] -> a[[0,...,k]] };
  a = { [i,j] -> tmp[[j,i]] }; 
  return( a[[0,0]]);
}
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking