------- Comment #21 from kauer at os dot inf dot tu-dresden dot de  2007-07-04 
21:50 -------
This simple testcase triggers the bug, too. Unfortunatelly I didnot test the
patch yet.

--
inline void g(int b)
{
  register int reg __asm__ ("eax") = 0;
  asm volatile ("nop" : "+r"(reg), "+r"(b));
}

void f(int a)
{
  a /= 1000;
  g(a);
}


-- 


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

Reply via email to