This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42586] New: load-modify-store on x86 should be \ single instruction
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2010 07:09:57 -0000
- Subject: [Bug tree-optimization/42586] New: load-modify-store on x86 should be \ single instruction
- References: <bug-42586-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from pinskia at gcc dot gnu dot org 2010-01-03 07:09 -------
(In reply to comment #12)
> Well the other issue is that only post-reload-cse deletes the load/stores
> without SRA doing what needs to be done.
This was PR 38513 which we still should be done at the RTL level before the
register allocation :). In fact PR 38513 was fixed at the tree level for 4.5
which causes the read-modify-store will work after SRA is fixed.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42586