aboutsummaryrefslogtreecommitdiff
path: root/gcc/sel-sched-ir.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/sel-sched-ir.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/sel-sched-ir.c')
-rw-r--r--gcc/sel-sched-ir.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c
index 0e89c48..1c3614b 100644
--- a/gcc/sel-sched-ir.c
+++ b/gcc/sel-sched-ir.c
@@ -4560,9 +4560,7 @@ sel_bb_head (basic_block bb)
}
else
{
- insn_t note;
-
- note = bb_note (bb);
+ rtx_note *note = bb_note (bb);
head = next_nonnote_insn (note);
if (head && (BARRIER_P (head) || BLOCK_FOR_INSN (head) != bb))
@@ -4983,7 +4981,7 @@ clear_outdated_rtx_info (basic_block bb)
static void
return_bb_to_pool (basic_block bb)
{
- rtx note = bb_note (bb);
+ rtx_note *note = bb_note (bb);
gcc_assert (NOTE_BASIC_BLOCK (note) == bb
&& bb->aux == NULL);