This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/54900] write introduction incorrect wrt the C11 memory model (2)
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Oct 2012 20:59:43 +0000
- Subject: [Bug rtl-optimization/54900] write introduction incorrect wrt the C11 memory model (2)
- Auto-submitted: auto-generated
- References: <bug-54900-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54900
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2012-10-17 20:59:43 UTC ---
Author: aldyh
Date: Wed Oct 17 20:59:40 2012
New Revision: 192548
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192548
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/alias.c
trunk/gcc/ifcvt.c
trunk/gcc/rtl.h