------- Comment #2 from pluto at agmk dot net 2008-02-05 16:33 ------- (In reply to comment #0)
it's not a gcc bug, it's a null pointer dereference. > while (1) { > if (ctrl) { > (...) > lxTraceCopy(cuSub->traceTag, ctrl->ctrlPath, ... > } else if (pkt) { > (...) > lxTraceCopy(cuSub->traceTag, ctrl->ctrlPath, ... ^^^^ in this else-if branch compiler assumes ctrl == 0 and pushes to stack only 0x8 (pure offset to ctrlPath field). -- pluto at agmk dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pluto at agmk dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35092