[PATCH] Find more cases for AUTO_INC_DEC

Andrew Pinski pinskia@physics.uc.edu
Sat Jul 16 20:59:00 GMT 2005


On Jul 16, 2005, at 4:40 PM, Adam Nemet wrote:

> Hi,
>
> Mainline has stopped optimizing the following function into stuw
> (pre-increment) on PowerPC:
>
>   int *stwu4 (int *p, int i)
>   {
>     *++p = i;
>     return p;
>   }

I should note that this is a regression from 3.3.

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list