This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA (fold): PATCH for c++/49290 (folding *(T*)(ar+10))


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.


Ciao,
Michael.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]