CTZ generates vector int[3] N_type for scalar 0
|
|
Bugzilla Link |
981 |
Created on |
Jun 18, 2012 21:53 |
Resolution |
FIXED |
Resolved on |
Jun 22, 2012 18:00 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Extended Description
This compiles with an ntype of int[3] for the scalar 0:
int[3] _ctz_2959 { , NN } ;
int[3] _ctz_2960 { , NN } ;
...
_flat_1100 = _shape_A_( arr_a);
_esd_2964 = [ -3, -3, -4 ];
_ctz_2959 = _add_VxV_( _flat_1100, _esd_2964);
_ctz_2960 = 0;
_flat_1099 = _eq_VxS_( _ctz_2959, _ctz_2960);
cd sac/testsuite/optimizations/constantfolding
sac2c -v1 bug652.breaks.sac -nopetl -nols
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
developer rev 17934:MODIFIED linux-gnu_x86_64
(Mon Jun 18 16:22:11 EDT 2012 by sac)