summaryrefslogtreecommitdiff
path: root/gcc/cfgbuild.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-28 20:35:42 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-28 20:35:42 +0000
commit380fe2ee852857c24775338659cfe54c83a90164 (patch)
tree8213040026ae45b804a8491317ab2c132bbba0b9 /gcc/cfgbuild.c
parentf6d940f9b148866d200555db83f5e26448f06696 (diff)
downloadlinaro-gcc-380fe2ee852857c24775338659cfe54c83a90164.tar.gz
linaro-gcc-380fe2ee852857c24775338659cfe54c83a90164.tar.bz2
linaro-gcc-380fe2ee852857c24775338659cfe54c83a90164.zip
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214691 138bc75d-0d04-0410-961f-82ee72b054a4
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 475739d7a42..028eca16c2b 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))
{