RE: [MIPS] RFA: Use new rtl iterators in r10k_needs_protection_p_1

2014-10-25 Thread Matthew Fortune
> gcc/ > * config/mips/mips.c (r10k_needs_protection_p_1): Take an rtx > rather than an rtx pointer. Change type of insn from "void *" > to its real type. Return bool rather than int. Iterate over > all subrtxes here. > (r10k_needs_protection_p_store): Update accord

[MIPS] RFA: Use new rtl iterators in r10k_needs_protection_p_1

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 mips64-elf. OK to install? Thanks, Richard gcc/ * config/mips/mips.c (r10k_needs_protection_p_1): Take an rtx rather