aboutsummaryrefslogtreecommitdiff
path: root/gcc/store-motion.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-06-06 13:14:45 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-06-06 13:14:45 +0000
commite67d1102e0d55effe57427369957351d206f6475 (patch)
treeae5222f0b206b4fe1455b6bf791013c65d7bdbb5 /gcc/store-motion.c
parentad42dbbebaca32f857812b2285c8e4462bb0c688 (diff)
downloadgcc-e67d1102e0d55effe57427369957351d206f6475.zip
gcc-e67d1102e0d55effe57427369957351d206f6475.tar.gz
gcc-e67d1102e0d55effe57427369957351d206f6475.tar.bz2
emit-rtl.c, [...]: Replace rtx base types with more derived ones.
gcc/ * emit-rtl.c, expr.c, gcse.c, optabs.c, optabs.h, print-rtl.c, rtl.h, bb-reorder.c, builtins.c, calls.c, cfgbuild.c, cfgexpand.c, cfgrtl.c, cilk-common.c, config/i386/i386.md, cse.c, dwarf2cfi.c, except.c, final.c, function.c, gcse-common.c, genemit.c, haifa-sched.c, ifcvt.c, jump.c, loop-invariant.c, loop-iv.c, lra-constraints.c, lra.c, reload1.c, resource.c, rtlanal.c, sched-deps.c, sched-ebb.c, sel-sched-ir.c, sel-sched.c, shrink-wrap.c, stmt.c, store-motion.c: Replace rtx base types with more derived ones. From-SVN: r224187
Diffstat (limited to 'gcc/store-motion.c')
-rw-r--r--gcc/store-motion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/store-motion.c b/gcc/store-motion.c
index f61daba..42392cb 100644
--- a/gcc/store-motion.c
+++ b/gcc/store-motion.c
@@ -304,10 +304,10 @@ store_ops_ok (const_rtx x, int *regs_set)
/* Returns a list of registers mentioned in X.
FIXME: A regset would be prettier and less expensive. */
-static rtx
+static rtx_expr_list *
extract_mentioned_regs (rtx x)
{
- rtx mentioned_regs = NULL;
+ rtx_expr_list *mentioned_regs = NULL;
subrtx_var_iterator::array_type array;
FOR_EACH_SUBRTX_VAR (iter, array, x, NONCONST)
{