On Fri, 17 Jun 2011, Michael Matz wrote: > Hi, > > On Thu, 16 Jun 2011, Richard Guenther wrote: > > > > If people want to not create useless conversions in the first place, > > > though, I suspect there are lots of places that create useless > > > conversions in the compiler. > > > > Yeah, the above looks it comes from the frontends - gimplification > > should strip this conversion, if it doesn't that is a bug ;) > > Well, Mike said this view_convert_expr actually is on the LHS of an > assignment. I wouldn't be surprised if nobody strips "useless" > conversions of LHSes, exactly because such things on a LHS are no > conversions.
For vectors we can move them to the rhs instead. Richard.