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:37:15 -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 #6 from pinskia at gcc dot gnu dot org 2006-10-11 02:37 -------
(In reply to comment #5)
> (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");
Grrr, lets try that again, this time for the correct PPC asm:
asm("stw %1,0(%0)" ::"r"(a->t) ,"r"(3) : "memory");
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29415