[Bug testsuite/44701] [4.6 regression] PR44492 fix broke gcc.target/powerpc/asm-es-2.c

mikpe at it dot uu dot se gcc-bugzilla@gcc.gnu.org
Tue Jun 29 11:01:00 GMT 2010



------- Comment #2 from mikpe at it dot uu dot se  2010-06-29 11:00 -------
(In reply to comment #1)
> -      asm ("asm2%U0 %0" : "=m" (*p));
> +      asm ("asm2%U0 %0" : "=m<>" (*p));

That fixed the test case.  Thanks.  I didn't know about the PowerPC-specific %U
thing, but now I see that the compiler did the right thing.

Seems like the descriptions of "m" and "es" in the PowerPC-specific part of
md.texi are now a bit stale: "es" should be equivalent to "m", and "m" should
be safe (free of side-effects) unless accompanied by "<" or ">".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44701



More information about the Gcc-bugs mailing list