This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/29415] [4.2 regression] ] bad code reordering around inline asm block
- 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: 11 Oct 2006 02:35:36 -0000
- Subject: [Bug tree-optimization/29415] [4.2 regression] ] bad code reordering around inline asm block
- References: <bug-29415-10561@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-11 02:35 -------
(In reply to comment #4)
> asm("stw%X0 %1,%0" ::"r"(a->t) :"r"(3) : "memory");
This is what I get for making a runtime testcase in the bug report.
That asm should be:
asm("stw%X0 %1,%0" ::"r"(a->t) ,"r"(3) : "memory");
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29415