Re: Spurious warning from gcc compiling kernel code
From: Norm Dresner (ndrez_at_att.net)
Date: Wed, 24 Nov 2004 22:38:17 GMT
"Erik Max Francis" <firstname.lastname@example.org> wrote in message
> Norm Dresner wrote:
> > Does this mean that there's really bad kernel code that ignores the
> > side-effects issue?
> Only if the kernel generates such warnings when you build it.
That's absolutely wrong! There was no bad code in my example -- there are
no side effects of comparing two scalar variables -- but I still got the