Re: [spu] RFA: Use new rtl iterators in ea_symbol_ref_p

2014-10-27 Thread Ulrich Weigand
Richard Sandiford wrote: > gcc/ > * config/spu/spu.c: Include rtl-iter.h > (ea_symbol_ref): Replace with... > (ea_symbol_ref_p): ...this new function. > (spu_legitimate_address_p): Update call accordingly. > (spu_legitimate_constant_p): Likewise. Use FOR_EACH_SUBRTX.

[spu] RFA: Use new rtl iterators in ea_symbol_ref_p

2014-10-25 Thread Richard Sandiford
Make spu.c use FOR_EACH_SUBRTX instead of for_each_rtx, as 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 spu-elf. OK to install? Thanks, Richard gcc/ * config/spu/spu.c: Include