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
  • #2132
Closed
Open
Created Nov 03, 2015 by Hans-Nikolai Viessmann@hansOwner

Withloop within a withloop operation field causes compiler to crash at type inference

Bugzilla Link 1167
Created on Nov 03, 2015 15:35
Resolution FIXED
Resolved on Nov 04, 2015 17:21
Version svn
OS Linux
Architecture PC
Attachments bug.sacbugreport, xbug.sacbugreport, 1167.sac

Extended Description

Created an attachment (id=1044)
the bug report produced by the compiler
Hi all,
Compiler crashes at type inference with the attached code - excerpt below (line 61):
  f = with { } : genarray( with { ([0] <= [k] <= [999]) : k; } : genarray([1000], 1), 1);
This line causes the compiler to crash - changing the nested withloops array size from 1000 to 100 (and updating the index range accordingly) compiles correctly.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking