aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgbuild.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-09-08 20:52:19 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-09-08 20:52:19 +0000
commit43f9bab0d2cd6716c44b6bc69ec2bf17c656154d (patch)
treec638aa035db78c2fc091eafd95b20c02580481e4 /gcc/cfgbuild.c
parente26d1bb2394d5973410baf630ad882810e5b0985 (diff)
downloadgcc-43f9bab0d2cd6716c44b6bc69ec2bf17c656154d.zip
gcc-43f9bab0d2cd6716c44b6bc69ec2bf17c656154d.tar.gz
gcc-43f9bab0d2cd6716c44b6bc69ec2bf17c656154d.tar.bz2
control_flow_insn_p takes an insn
gcc/ChangeLog: 2014-09-08 David Malcolm <dmalcolm@redhat.com> * basic-block.h (control_flow_insn_p): Strengthen param from const_rtx to const rtx_insn *. * cfgbuild.c (control_flow_insn_p): Likewise. From-SVN: r215028
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 028eca1..e5ac8d6 100644
--- a/gcc/cfgbuild.c
+++ b/gcc/cfgbuild.c
@@ -73,7 +73,7 @@ inside_basic_block_p (const rtx_insn *insn)
the basic block. */
bool
-control_flow_insn_p (const_rtx insn)
+control_flow_insn_p (const rtx_insn *insn)
{
switch (GET_CODE (insn))
{