On Tuesday, October 05, 2010 8:08:07 pm Ulrich Weigand wrote: > I think it would be better to change your patch to perform the > operation you're doing in the new widen_scalar_to_vector routine > simply in value_cast instead (if the source is a scalar and the > target type a vector type). This is a bright idea! The attached patch enhances value_cast to be able widen scalars to vectors as suggested. Tested on i686-*-linux-gnu with no regressions. Any comments are appreciated as usual. Thanks Ken