This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37447] [4.4 Regression] test pr28982b.c fails execution on power4 or later with ira change
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2008 23:19:58 -0000
- Subject: [Bug middle-end/37447] [4.4 Regression] test pr28982b.c fails execution on power4 or later with ira change
- References: <bug-37447-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rth at gcc dot gnu dot org 2008-10-01 23:19 -------
Created an attachment (id=16446)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16446&action=view)
proposed patch
Please try this and see if it works. I believe it does, since I see
- stw 21,16(9)
- addis 21,1,0x8
[lots of code]
+ stw 21,16(9)
+ addis 21,1,0x8
which suggests that the memory store hasn't been promoted
above where it ought.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37447