This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/37447] [4.4 Regression] test pr28982b.c fails execution on power4 or later with ira change



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]