[PATCH] PR middle-end/17055: Casting integer zero to a vector

Richard Henderson rth@redhat.com
Wed Sep 8 19:18:00 GMT 2004


On Wed, Sep 08, 2004 at 12:14:20PM -0600, Roger Sayle wrote:
> 	PR middle-end/17055
> 	* fold-const.c (build_zero_vector): New function to construct a
> 	vector (either floating point or integer) of zeros.
> 	(fold_convert): Internally, enable conversions of integer zero
> 	to arbitrary vector types, using the new build_zero_vector.
> 	* gcc.dg/pr17055-1.c: New test case.

Ok.


r~



More information about the Gcc-patches mailing list