diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2012-10-17 20:59:40 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2012-10-17 20:59:40 +0000 |
commit | a7b159a4dcca7e45fdf2b57a865dd2a91148eefb (patch) | |
tree | 6246e46226dfe3ca8100baf6e693f108a7fa2483 /gcc/rtl.h | |
parent | 4d9675496a28ef6184f2a9c3ac5e6e3ea63606c1 (diff) | |
download | gcc-a7b159a4dcca7e45fdf2b57a865dd2a91148eefb.zip gcc-a7b159a4dcca7e45fdf2b57a865dd2a91148eefb.tar.gz gcc-a7b159a4dcca7e45fdf2b57a865dd2a91148eefb.tar.bz2 |
re PR rtl-optimization/54900 (write introduction incorrect wrt the C11 memory model (2))
PR rtl-optimization/54900
* ifcvt.c (noce_can_store_speculate_p): Call
memory_must_be_modified_in_insn_p.
* alias.c (memory_must_be_modified_in_insn_p): New.
(set_dest_equal_p): New.
* rtl.h (memory_must_be_modified_in_p): Protoize.
From-SVN: r192548
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2616,6 +2616,7 @@ extern void init_alias_analysis (void); extern void end_alias_analysis (void); extern void vt_equate_reg_base_value (const_rtx, const_rtx); extern bool memory_modified_in_insn_p (const_rtx, const_rtx); +extern bool memory_must_be_modified_in_insn_p (const_rtx, const_rtx); extern bool may_be_sp_based_p (rtx); extern rtx gen_hard_reg_clobber (enum machine_mode, unsigned int); extern rtx get_reg_known_value (unsigned int); |