[openib-general] RE: [PATCH] Opensm - fix segfault on exit - cont.

Greg Lindahl lindahl at pathscale.com
Tue Dec 20 12:46:38 PST 2005


On Tue, Dec 20, 2005 at 09:11:12AM +0200, Yael Kalka wrote:

> > -       if (&p_ur->signal)
> > +       if (&p_ur->signal != NULL)

Aren't these 2 statements required to execute the same according to
the C standard?

I wrote a tiny test program and gcc4.0.0 as distributed with Fedora
Core 3 generated identical assembly code for both.

-- greg




More information about the general mailing list