lkml.org 
[lkml]   [2005]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] lib: zlib_inflate "r.base" uninitialized compile warnings
Kees Cook wrote:

> Eliminates compile-time warnings from "r" being uninitialized.
>

What version of gcc are you using?

I get no warnings on 3.4.4:
CC [M] lib/zlib_inflate/infblock.o
CC [M] lib/zlib_inflate/infcodes.o
CC [M] lib/zlib_inflate/inffast.o
CC [M] lib/zlib_inflate/inflate.o
CC [M] lib/zlib_inflate/inflate_sync.o
CC [M] lib/zlib_inflate/inftrees.o
CC [M] lib/zlib_inflate/infutil.o
CC [M] lib/zlib_inflate/inflate_syms.o
LD [M] lib/zlib_inflate/zlib_inflate.o
Building modules, stage 2.
MODPOST
CC lib/zlib_inflate/zlib_inflate.mod.o
LD [M] lib/zlib_inflate/zlib_inflate.ko

agard linux-2.6.15-rc7 # gcc --version
gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

Looks like a gcc bug that was fixed?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-25 21:17    [W:0.023 / U:7.840 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site