aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgbuild.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-28 20:35:42 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-28 20:35:42 +0000
commiteefc72edb9c02055bd244c379761013ff0418c38 (patch)
tree8213040026ae45b804a8491317ab2c132bbba0b9 /gcc/cfgbuild.c
parent7583d99aa7f9fe7d9901d611687c3f6f2fbf60f6 (diff)
downloadgcc-eefc72edb9c02055bd244c379761013ff0418c38.zip
gcc-eefc72edb9c02055bd244c379761013ff0418c38.tar.gz
gcc-eefc72edb9c02055bd244c379761013ff0418c38.tar.bz2
inside_basic_block_p requires a const rtx_insn *
gcc/ 2014-08-28 David Malcolm <dmalcolm@redhat.com> * basic-block.h (inside_basic_block_p): Strengthen param from const_rtx to const rtx_insn *. * cfgbuild.c (inside_basic_block_p): Likewise. From-SVN: r214691
Diffstat (limited to 'gcc/cfgbuild.c')
-rw-r--r--gcc/cfgbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c
index 475739d..028eca1 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -44,7 +44,7 @@ static void compute_outgoing_frequencies (basic_block);
block. */
bool
-inside_basic_block_p (const_rtx insn)
+inside_basic_block_p (const rtx_insn *insn)
{
switch (GET_CODE (insn))
{