Re: [SH] RFA: Use new rtl iterators in sh_contains_memref_p

2014-10-25 Thread Oleg Endo
On Oct 25, 2014, at 12:03 PM, Richard Sandiford wrote: > This is part of a series to remove uses of for_each_rtx from the ports. > > Tested by making sure there were no code changes for gcc.dg, gcc.c-torture > and g++.dg for sh-elf. OK to install? OK with me. Cheers, Oleg > gcc/ >*

[SH] RFA: Use new rtl iterators in sh_contains_memref_p

2014-10-25 Thread Richard Sandiford
This is part of a series to remove uses of for_each_rtx from the ports. Tested by making sure there were no code changes for gcc.dg, gcc.c-torture and g++.dg for sh-elf. OK to install? Thanks, Richard gcc/ * config/sh/sh.c (sh_contains_memref_p_1): Delete. (sh_contains_memref_p