Re: Spurious warning from gcc compiling kernel code
From: Norm Dresner (ndrez_at_att.net)
Date: 11/24/04
- Next message: Grant Edwards: "Re: Spurious warning from gcc compiling kernel code"
- Previous message: Erik Max Francis: "Re: Spurious warning from gcc compiling kernel code"
- In reply to: Erik Max Francis: "Re: Spurious warning from gcc compiling kernel code"
- Next in thread: Grant Edwards: "Re: Spurious warning from gcc compiling kernel code"
- Reply: Grant Edwards: "Re: Spurious warning from gcc compiling kernel code"
- Reply: Erik Max Francis: "Re: Spurious warning from gcc compiling kernel code"
- Reply: Al Viro: "Re: Spurious warning from gcc compiling kernel code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Nov 2004 22:38:17 GMT
"Erik Max Francis" <max@alcyone.com> wrote in message
news:sIadnQph0rcXmzjcRVn-2Q@speakeasy.net...
> 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
warning.
Norm
- Next message: Grant Edwards: "Re: Spurious warning from gcc compiling kernel code"
- Previous message: Erik Max Francis: "Re: Spurious warning from gcc compiling kernel code"
- In reply to: Erik Max Francis: "Re: Spurious warning from gcc compiling kernel code"
- Next in thread: Grant Edwards: "Re: Spurious warning from gcc compiling kernel code"
- Reply: Grant Edwards: "Re: Spurious warning from gcc compiling kernel code"
- Reply: Erik Max Francis: "Re: Spurious warning from gcc compiling kernel code"
- Reply: Al Viro: "Re: Spurious warning from gcc compiling kernel code"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|