[openib-general] RE: [PATCH] Opensm - fix segfault on exit - cont.
Eitan Zahavi
eitan at mellanox.co.il
Tue Dec 20 13:20:55 PST 2005
Hi Greg,
>
> 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?
[EZ] We were puzzled too. But there is nothing stronger then seeing it
happening.
What could break our compiler? Hmmm.
>
> I wrote a tiny test program and gcc4.0.0 as distributed with Fedora
> Core 3 generated identical assembly code for both.
>
> -- greg
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
More information about the general
mailing list