------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-09 01:37 ------- This code is invalid, for one you should not do a call in inline-asm. Second the store to k is dead as the inline-asm is not told that k is accessed.
asm volatile ("call g" :: "a" (&k), "m" (k)); will fix the DCE issue but the code is still invalid because control flow -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19341