------- Comment #3 from rguenth at gcc dot gnu dot org  2010-02-06 14:44 -------
(In reply to comment #2)
> The correct way to write your ASM is to mark it as clobbering memory.  That 
> is:
> 
>         asm volatile ("swi #0" :: "r" (a) : "memory");

Note that clobbering "memory" does not make the content of *t necessary,
so this is not enough.


-- 


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

Reply via email to