--- Comment #3 from amylaar at gcc dot gnu dot org 2006-06-22 21:22 ---
(In reply to comment #2)
> __asm__ ("choke_me %0 %1 %2" : "+m" (*p1), "+m" (*p2), "+m" (*p3));
> *p1 = val0;
> *p2 = val0;
> *p3 = val0;
>
> Actually I don't think so since the asm is dead co
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-22 20:56 ---
__asm__ ("choke_me %0 %1 %2" : "+m" (*p1), "+m" (*p2), "+m" (*p3));
*p1 = val0;
*p2 = val0;
*p3 = val0;
Actually I don't think so since the asm is dead code as the stores to *p1, *p2,
and *p3
--- Comment #1 from amylaar at gcc dot gnu dot org 2006-06-22 19:43 ---
Created an attachment (id=11731)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11731&action=view)
test case
This test case should fail to assemble. Yet it does at -O1 or higher.
--
http://gcc.gnu.org/bug