[x86] RFA: Use new rtl iterators in find_constant

Uros Bizjak ubizjak@gmail.com
Mon Oct 27 09:42:00 GMT 2014


On Sat, Oct 25, 2014 at 11:07 AM, Richard Sandiford
<rdsandiford@googlemail.com> wrote:
> This is part of a series to remove uses of for_each_rtx from the ports.
> It's a bit hard to read, so I've attached a -b version too.
>
> Tested by making sure there were no code changes for gcc.dg, gcc.c-torture
> and g++.dg for x86_64-linux-gnu, and also by a boostrap.  OK to install?
>
> Thanks,
> Richard
>
>
> gcc/
>         * config/i386/i386.c (find_constant_1): Delete.
>         (find_constant): Use FOR_EACH_SUBRTX.

OK.

Thanks,
Uros.



More information about the Gcc-patches mailing list