aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-02-13 21:47:39 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2013-02-13 21:47:39 +0100
commitc4bfe8bfdb11a5fe0734b84a3c60b4db312b22f1 (patch)
treec169eabab6c01a54a69fc9413c4019ef7aaa3d74 /gcc/tree-ssa-phiopt.c
parent7afe28013fa88a06d0e3564dcf9e8ee5cb06c0e1 (diff)
downloadgcc-c4bfe8bfdb11a5fe0734b84a3c60b4db312b22f1.zip
gcc-c4bfe8bfdb11a5fe0734b84a3c60b4db312b22f1.tar.gz
gcc-c4bfe8bfdb11a5fe0734b84a3c60b4db312b22f1.tar.bz2
asan.c (create_cond_insert_point): Add create_then_fallthru_edge argument.
* asan.c (create_cond_insert_point): Add create_then_fallthru_edge argument. If it is false, don't create edge from then_bb to fallthru_bb. (insert_if_then_before_iter): Pass true to it. (build_check_stmt): Pass false to it. (transform_statements): Flush hash table only on extended basic block boundaries, rather than at the beginning of every bb. Don't flush hash table on nonfreeing_call_p calls. * tree-flow.h (nonfreeing_call_p): New prototype. * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static. From-SVN: r196029
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r--gcc/tree-ssa-phiopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index 6119943..300016f 100644
--- a/gcc/tree-ssa-phiopt.c
+++ b/gcc/tree-ssa-phiopt.c
@@ -1339,7 +1339,7 @@ add_or_mark_expr (basic_block bb, tree exp,
/* Return true when CALL is a call stmt that definitely doesn't
free any memory or makes it unavailable otherwise. */
-static bool
+bool
nonfreeing_call_p (gimple call)
{
if (gimple_call_builtin_p (call, BUILT_IN_NORMAL)