loop-iv.c: Include rtl-iter.h.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 28 Aug 2014 06:23:42 +0000 (06:23 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 28 Aug 2014 06:23:42 +0000 (06:23 +0000)
commit4ca29addfc97aa04a3da082840ea0c7bf5dedb18
treed97aa2672cc5b80f8c75c47fbfeb1a30d1fc385a
parente7c44276618b5ee91df8eb2f9bdd3e4a79829226
loop-iv.c: Include rtl-iter.h.

gcc/
* loop-iv.c: Include rtl-iter.h.
(find_single_def_src): New function.
(replace_single_def_regs): Turn from being a for_each_rtx callback
to being a function that examines each subrtx itself.
(replace_in_expr, simplify_using_initial_values): Update accordingly.

From-SVN: r214645
gcc/ChangeLog
gcc/loop-iv.c