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 402
    • Issues 402
    • 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
  • #2270
Closed
Open
Created Aug 08, 2021 by Sven-Bodo Scholz@sbsOwner

WLIDX breakes on multi-operator WL

Name: sac2c Version: 1.3.3-MijasCosta-682-gd1a1 Build-type: DEBUG Date: 2021-08-07T23:34:36 User: sbs Host: SvenBodosAir2.fritz.box

Detected OS string: Darwin-20.3.0 Detected CPU string: x86_64

CMake Generator: Unix Makefiles CMake Variant: DEBUG

when run with -v3 reg.sac -bopt:wlidx -noprelude on

int main()
{

   zz_c_g = 0;
   zz_c_h = 1.0;
   zz_a = [1,2];
   zz_b = 6;


   yy_c_g = 9;
   yy_c_h = 3.0;
   yy_a = [5,6];
   yy_b = 7;

   dim = [3,3];

   zz_c_g, zz_c_h, zz_a, zz_b = with {
         ( [0, 0] <= [i,j] < [1,1] ) : (yy_c_g, yy_c_h, yy_a, yy_b);
       } : (genarray( dim, zz_c_g),
            genarray( dim, zz_c_h),
            genarray( dim, zz_a),
            genarray( dim, zz_b));

   StdIO::print( _sel_VxA_ ([0,0], zz_b) );

   return 0;
}

breaks with

  **** Annotating offset variable at with-loops ...


OOOOOOOPS, your program crashed the compiler 8-((

Please, send a bug report to bugs@sac-home.org,
or file a bug in the SaC-Zilla bug management system.

For your convenience, the compiler has pre-fabricated a bug report
in the file "./reg.sacbugreport" !
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking