[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/33381] [4.2 regression] miscompilation casting signed long to void*




------- Comment #4 from rguenth at gcc dot gnu dot org  2007-09-21 13:04 -------
Shorter testcase:

void x(void *data);
void test()
{
  long i;
  for (i = 0; i < 5; i++) 
    if (i > 0)
      x((void *)(i - 1));
}


-- 


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: