aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-low.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-08-17 16:24:53 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-08-17 16:24:53 +0200
commit865f704603c2db06e82aaf1036a9cd6dca0cf3d6 (patch)
tree30ec27784a09fa29f2dba92c6929dc8378f6aa9c /gcc/gimple-low.c
parente07f4b008daa0cd06b079202919508fa74f030ff (diff)
downloadgcc-865f704603c2db06e82aaf1036a9cd6dca0cf3d6.zip
gcc-865f704603c2db06e82aaf1036a9cd6dca0cf3d6.tar.gz
gcc-865f704603c2db06e82aaf1036a9cd6dca0cf3d6.tar.bz2
gimple-fold.c (gimple_fold_call): Use gimple_call_noreturn_p instead of testing ECF_NORETURN bit in gimple_call_flags.
* gimple-fold.c (gimple_fold_call): Use gimple_call_noreturn_p instead of testing ECF_NORETURN bit in gimple_call_flags. * tree-cfg.c (make_edges_bb, execute_fixup_cfg): Likewise. * predict.c (tree_bb_level_predictions): Likewise. * gimple-low.c (gimple_stmt_may_fallthru): Likewise. From-SVN: r239539
Diffstat (limited to 'gcc/gimple-low.c')
-rw-r--r--gcc/gimple-low.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-low.c b/gcc/gimple-low.c
index 9ea17af..5f3361a 100644
--- a/gcc/gimple-low.c
+++ b/gcc/gimple-low.c
@@ -610,7 +610,7 @@ gimple_stmt_may_fallthru (gimple *stmt)
case GIMPLE_CALL:
/* Functions that do not return do not fall through. */
- return (gimple_call_flags (stmt) & ECF_NORETURN) == 0;
+ return !gimple_call_noreturn_p (stmt);
default:
return true;