diff options
author | Bernd Schmidt <bernds@redhat.com> | 2015-11-27 10:05:36 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2015-11-27 10:05:36 +0000 |
commit | c000cd7c93aa657aae1cdfd6ce9b950b78c79624 (patch) | |
tree | 1f99eda41a82e61f545b497246278ba9cd804341 /gcc/gimple.h | |
parent | 4d7b2a8a3b12beac09c5d8f8bcbf43a81296e462 (diff) | |
download | gcc-c000cd7c93aa657aae1cdfd6ce9b950b78c79624.zip gcc-c000cd7c93aa657aae1cdfd6ce9b950b78c79624.tar.gz gcc-c000cd7c93aa657aae1cdfd6ce9b950b78c79624.tar.bz2 |
Be more careful about barriers when speculating conditional stores.
* gimple.h (nonbarrier_call_p): Declare.
* gimple.c (nonbarrier_call_p): New function.
* tree-ssa-phiopt.c (nontrapping_dom_walker::before_dom_children):
Also increment call phase for ASMs with vdef and potential barrier
calls.
From-SVN: r231005
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 6eb22de..0b04804 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -1507,6 +1507,7 @@ extern bool gimple_call_builtin_p (const gimple *, enum built_in_function); extern bool gimple_asm_clobbers_memory_p (const gasm *); extern void dump_decl_set (FILE *, bitmap); extern bool nonfreeing_call_p (gimple *); +extern bool nonbarrier_call_p (gimple *); extern bool infer_nonnull_range (gimple *, tree); extern bool infer_nonnull_range_by_dereference (gimple *, tree); extern bool infer_nonnull_range_by_attribute (gimple *, tree); |