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" !