sac2c crash with -doawlf
Title says it all.
cat crud2.sac
use Array:{iota};
noinline
int[*] myReshape (int[.] shp, int[*] data)
{
return _reshape_VxA_(shp, data);
}
int main()
{ z = myReshape( [5], iota(5));
StdIO::show(z);
return(0);
}
apex@medusa:/tmp$ sac2c crud2.sac -doawlf
Warning:
AWLF is enabled: -ecc enabled.
Warning:
AWLF is enabled: -extrema enabled.
Warning:
AWLF is enabled: -maxoptcyc=20
Internal compiler error
Assertion "res == NULL || NODE_TYPE (res) == N_array" failed at /home/sac/sac2c/src/libsac2c/arrayopt/with_loop_utilities.c:289 -- Array conversion failed!
Please file a bug at: https://gitlab.sac-home.org/sac-group/sac2c/-/issues
apex@medusa:/tmp$ sac2c -V
sac2c 1.3.3-MijasCosta-1149-g4237
build-type: RELEASE
built-by: "sac" at 2024-02-09T11:28:36