> >> Is there any way to improve this behaviour? I have been using 2.9.5
> very
> >> successfully for years and am now looking at 4.4.2, but have many
> such
> >> examples in my code (for clarity of commenting and maintainability).
> >
> > This is very strange.  On x86_64, gcc 4.4.1 generates
> >
> >        movl    $7170, %eax
> >        ret
> >
> > This optimization is done by the first RTL cse pass.  I can't
> understand
> > why it's not being done for your target.  I guess this will need a
> > powerpc expert.

Thanks Andrew for checking this on your system.

> Known bug, see http://gcc.gnu.org/PR22141
> 
> I hope Jakub will finish this work for gcc 4.5.
> 
> Ciao!
> Steven

Thanks Steven. At least I have a handle on it now. Fingers crossed for 4.5 :-)


*****************************************************************
This email has been checked by the altohiway Mailcontroller Service
*****************************************************************

Reply via email to