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
  • #1588
Closed
Open
Created May 01, 2007 by Clemens Grelck@cgDeveloper

modarray-sel elimination not generally correct

Bugzilla Link 356
Created on May 01, 2007 09:22
Resolution FIXED
Resolved on Nov 19, 2009 00:21
Version 1.00alpha
OS All
Architecture All
Attachments killer.sac, format.sac

Extended Description

The transformation
a = modarray( b, iv, val);
x = sel( iv, a);
  =>
x = val;
is incorrect if val is not of correct element shape to be inserted
into b. In the original version the code eventually generated for 
modarray will check consistency, whereas the optimised code obviously
does not do so. 
To make this transformation correct we need to insert an appropriate
type assert.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking