Vector types and type conversions

Robert Dewar dewar@adacore.com
Wed Apr 19 13:20:00 GMT 2006


Daniel Jacobowitz wrote:
> On Wed, Apr 19, 2006 at 08:58:59AM -0400, Robert Dewar wrote:
>> Andrew Haley wrote:
>>> Converting a vector of floats (via a cast) to a vector of ints of the
>>> same size uses a VIEW_CONVERT_EXPR, so the data are simply copied, not
>>> converted.  This is different from a cast from scalar float to int,
>>> where a conversion is performed.a
>> Yes, that's the way C is defined
> 
> The C standard doesn't have vectors in it, so this hardly makes sense
> as a response.  He's not talking about arrays.

Ah, OK, understood, sorry for my confusion ..
> 




More information about the Gcc mailing list