Re: warnings in 2.1.90 using pgcs
James Mastros (root@jennifer-unix.dyn.ml.org)
Fri, 20 Mar 1998 01:01:56 -0500 (EST)
On Fri, 20 Mar 1998, Michael L. Galbraith wrote:
> On Thu, 19 Mar 1998, Christopher W. Fisher wrote:
>
> > I am getting this warning in almost every source file.
>
> Hello Christopher,
>
> I'm using this to get it to shut up.. OOGLY, but silently produces
> assembler identical to the original. The problem is that gcc doesn't
> know that all cases are covered, so it warns about a possibly undesired
> fall-through.. goodthing(tm) but darned annoying.
>
> -Mike
Just change the last case in the moduloed select into a default: that
should acatualy emit slightly better code, since there will be one less
compare.
-=- James Masotrs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu