type precision loss on function call - perhaps glf?
|
|
Bugzilla Link |
515 |
Created on |
Jun 24, 2009 03:41 |
Resolution |
LATER |
Resolved on |
Jun 24, 2009 09:05 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Attachments |
crud.sac |
Extended Description
Created an attachment (id=544)
Source code to reproduce fault
The attached code calls sameIIB exactly once, with arguments of int[10].
int[10] x { } ;
int[10] _pinl_489_res { } ;
...
z = _MAIN::sameIIB( x, _pinl_489_res);
The sameIIB code, however, has a function header with
types of int[.].
bool _MAIN::sameIIB( int[.] x { } , int[.] y { } )
/*
* sameIIB :: ---
*/
{
int[1] _cf_2287 { } ;
int _cf_2286_x { } ;
int[1] _cf_2285 { } ;
int _cf_2284_y { } ;
bool _pinl_1992___flat_677 { } ;
bool _pinl_1965__hce_1 { } ;
_cf_2284_y = _idx_shape_sel_( 0, y);
_cf_2285 = [ _cf_2284_y ];
_cf_2286_x = _idx_shape_sel_( 0, x);
_cf_2287 = [ _cf_2286_x ];
_pinl_1992___flat_677 = _eq_SxS_( _cf_2286_x, _cf_2284_y);
_pinl_1965__hce_1 = _MAIN::_dup_2001___sameIIB__Cond_0( _pinl_1992___flat_677, _cf_2285, y, _cf_2287, x);
return( _pinl_1965__hce_1);
}