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