On 25 October 2014 10:56, Richard Sandiford <rdsandif...@googlemail.com> 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 arc-elf. OK to install? > > Thanks, > Richard > > > gcc/ > * config/arc/arc.c (arc600_corereg_hazard_1): Delete. > (arc600_corereg_hazard): Use FOR_EACH_SUBRTX.
OK. > + FOR_EACH_SUBRTX (iter, array, PATTERN (pred), NONCONST) I was wondering for a while what kind of (NON)CONST this was about... but as I glean from the source, as long as nobody packs an address with a side effect into a (CONST (MEM (...)) - which should never happen in the first place, no matter if the MEM itself is really const - we should be fine.