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
  • #1496
Closed
Open
Created Apr 10, 2003 by Sven-Bodo Scholz@sbsOwner

WLT bug

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

Extended Description

The following program breaks durint WLT in phase 14:
int[*] (++)( int[1] arr_a, int[+] arr_b)
{                                
  new_shp = _modarray_( _shape_( arr_a),
                        [0],          
                        _add_SxS_( _sel_([0], _shape_( arr_a)),
                                   _sel_([0], _shape_( arr_b)) ) );
  res = with( . <= iv < _shape_( arr_a))                       
        genarray( new_shp, _sel_( iv, arr_a));                
  offset =  _modarray_( _mul_SxA_( 0, new_shp),              
                        [0],                                
                        _sel_([0], _shape_( arr_a)) );     
  res = with( offset <= iv <= .)                          
        modarray( res, iv, _sel_( _sub_AxA_( iv, offset), arr_b));
  return( res);
}
int main()
{
  a = with( . <= iv <= .)
      genarray( [20], 2);
  res = [0] ++ a;
  return( _sel_([0], res));
}
sac2c -O3 -sbs -fun2lac 13 -ssa -noTSI -noAP -maxlur 3 -maxwlur 12
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking