grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lists and aliasing (Re: Freeze on 27 February)


From: Lennart Sorensen
Subject: Re: Lists and aliasing (Re: Freeze on 27 February)
Date: Wed, 22 Feb 2012 10:50:41 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Feb 22, 2012 at 10:34:18AM -0500, Lennart Sorensen wrote:
> OK, still seeing things like:
> 
> gcc-4.4 -DHAVE_CONFIG_H -I. -I../..  -Wall -W -I./include -DGRUB_UTIL=1 
> -DGRUB_LIBDIR=\"/usr/lib/grub\" -DLOCALEDIR=\"/usr/share/locale\"  
> -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=POWERPC_EMU -DGRUB_TARGET_CPU_POWERPC=1 
> -DGRUB_FILE=\"grub-core/disk/ldm.c\" -I. -I../.. -I. -I../.. -I../../include 
> -I./include  -I./grub-core/gnulib -I../../grub-core/gnulib                -g 
> -Wall -O2 -Wall -W -Wshadow -Wold-style-declaration -Wold-style-definition 
> -Wpointer-arith -Wundef -Wextra -Waddress -Warray-bounds -Wattributes 
> -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered 
> -Wcomment -Wcoverage-mismatch -Wdeprecated -Wdeprecated-declarations 
> -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels 
> -Wfloat-equal -Wformat-contains-nul -Wformat-extra-args -Wformat-security 
> -Wformat-y2k -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration 
> -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch 
> -Wunsafe-loop-optimizations -Wlogical-op -Wmain -Wmissing-braces 
> -Wmissing-field-initialize
> rs -Wmissing-format-attribute -Wmissing-noreturn -Wmudflap -Wmultichar 
> -Wnonnull -Woverflow -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith 
> -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare 
> -Wstrict-aliasing -Wswitch -Wsync-nand -Wtrigraphs  -Wtype-limits -Wundef 
> -Wuninitialized -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label 
> -Wunused-parameter -Wunused-result -Wunused-value  -Wunused-variable 
> -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings 
> -Wmissing-declarations -Wmissing-parameter-type  -Wmissing-prototypes 
> -Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror  -Wno-undef 
> -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls 
> -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition               
>  -c -o grub-core/disk/libgrubkern_a-ldm.o `test -f 'grub-core/disk/ldm.c' || 
> echo '../../'`grub-core/disk/ldm.c
> cc1: warnings being treated as errors
> ../../grub-core/disk/ldm.c: In function 'grub_util_get_ldm':
> ../../grub-core/disk/ldm.c:834: error: 'res' may be used uninitialized in 
> this function
> 
> I will do a build with werror disabled to grab any remaining warnings.

So with this patch, gcc 4.4 is down to 201 warnings, and gcc 4.6 has 175.

102 of those warnings are about missing prototypes for argp_usage
_option_is_short and _option_is_end in argp.h which leaves 99 warnings
for gcc 4.4 and 73 for gcc 4.6.

A short summary of what is left is:

gcc 4.6:
../../grub-core/disk/ldm.c:858:10: warning: 'res' may be used uninitialized in 
this function [-Wuninitialized]
../../grub-core/fs/zfs/zfs_sha256.c:132:3: warning: cannot optimize loop, the 
loop counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/lib/LzmaEnc.c:1214:9: warning: cannot optimize possibly 
infinite loops [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:716:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:711:7: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:694:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:672:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591:17: warning: comparison 
between signed and unsigned integer expressions [-Wsign-compare]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173:21: warning: 
comparison between signed and unsigned integer expressions [-Wsign-compare]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:347:7: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:371:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:515:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:539:7: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:562:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:582:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../util/grub-mkfont.c:720:7: warning: cannot optimize possibly infinite 
loops [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:918:4: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:931:4: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:946:4: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:888:7: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:876:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:873:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:870:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:716:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:711:7: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:694:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:672:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:788:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:785:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:1009:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/normal/cmdline.c:56:4: warning: cannot optimize possibly 
infinite loops [-Wunsafe-loop-optimizations]
../../../grub-core/normal/charset.c:737:6: warning: cannot optimize possibly 
infinite loops [-Wunsafe-loop-optimizations]
../../../grub-core/commands/legacycfg.c:567:3: warning: cannot optimize loop, 
the loop counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591:17: warning: 
comparison between signed and unsigned integer expressions [-Wsign-compare]
../../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173:21: warning: 
comparison between signed and unsigned integer expressions [-Wsign-compare]
../../grub-core/disk/ldm.c:858:10: warning: 'res' may be used uninitialized in 
this function [-Wuninitialized]
../../grub-core/fs/zfs/zfs_sha256.c:132:3: warning: cannot optimize loop, the 
loop counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/lib/LzmaEnc.c:1214:9: warning: cannot optimize possibly 
infinite loops [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:716:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:711:7: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:694:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/io/gzio.c:672:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591:17: warning: comparison 
between signed and unsigned integer expressions [-Wsign-compare]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173:21: warning: 
comparison between signed and unsigned integer expressions [-Wsign-compare]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:347:7: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:371:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:515:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:539:7: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:562:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:582:3: warning: 
dereferencing type-punned pointer will break strict-aliasing rules 
[-Wstrict-aliasing]
../../util/grub-mkfont.c:720:7: warning: cannot optimize possibly infinite 
loops [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:918:4: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:931:4: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:946:4: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:888:7: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:876:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:873:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:870:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:716:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:711:7: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:694:8: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:672:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:788:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:785:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/io/gzio.c:1009:3: warning: cannot optimize loop, the loop 
counter may overflow [-Wunsafe-loop-optimizations]
../../../grub-core/normal/cmdline.c:56:4: warning: cannot optimize possibly 
infinite loops [-Wunsafe-loop-optimizations]
../../../grub-core/normal/charset.c:737:6: warning: cannot optimize possibly 
infinite loops [-Wunsafe-loop-optimizations]
../../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591:17: warning: 
comparison between signed and unsigned integer expressions [-Wsign-compare]
../../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173:21: warning: 
comparison between signed and unsigned integer expressions [-Wsign-compare]

gcc 4.4:
../../grub-core/disk/ldm.c:834: warning: 'res' may be used uninitialized in 
this function
../../grub-core/commands/testload.c:80: warning: cannot optimize loop, the loop 
counter may overflow
../../grub-core/fs/zfs/zfs_sha256.c:132: warning: cannot optimize loop, the 
loop counter may overflow
../../grub-core/lib/LzmaEnc.c:1214: warning: cannot optimize possibly infinite 
loops
../../grub-core/io/gzio.c:517: warning: cannot optimize possibly infinite loops
../../grub-core/io/gzio.c:716: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/io/gzio.c:711: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/io/gzio.c:694: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/io/gzio.c:672: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/lib/minilzo/minilzo.c:4187: warning: logical '&&' with non-zero 
constant will always evaluate as true
../../grub-core/lib/minilzo/minilzo.c:4526: warning: logical '&&' with non-zero 
constant will always evaluate as true
grub_script.tab.c:2133: warning: cannot optimize loop, the loop counter may 
overflow
../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591: warning: comparison 
between signed and unsigned integer expressions
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173: warning: comparison 
between signed and unsigned integer expressions
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:347: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:371: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:515: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:539: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:562: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:582: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../util/grub-mkfont.c:720: warning: cannot optimize possibly infinite loops
../../../grub-core/gnulib/regexec.c:2802: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regexec.c:2443: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regcomp.c:2588: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regcomp.c:2554: warning: cannot optimize possibly 
infinite loops
../../../grub-core/io/gzio.c:517: warning: cannot optimize possibly infinite 
loops
../../../grub-core/io/gzio.c:918: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:931: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:946: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:888: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:876: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:873: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:870: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:716: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:711: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:694: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:672: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:788: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:785: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:1009: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/normal/cmdline.c:56: warning: cannot optimize possibly 
infinite loops
../../../grub-core/normal/charset.c:737: warning: cannot optimize possibly 
infinite loops
grub_script.tab.c:2133: warning: cannot optimize loop, the loop counter may 
overflow
../../../grub-core/commands/legacycfg.c:567: warning: cannot optimize loop, the 
loop counter may overflow
../../../grub-core/lib/minilzo/minilzo.c:4187: warning: logical '&&' with 
non-zero constant will always evaluate as true
../../../grub-core/lib/minilzo/minilzo.c:4526: warning: logical '&&' with 
non-zero constant will always evaluate as true
../../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591: warning: comparison 
between signed and unsigned integer expressions
../../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173: warning: 
comparison between signed and unsigned integer expressions
../../grub-core/disk/ldm.c:834: warning: 'res' may be used uninitialized in 
this function
../../grub-core/commands/testload.c:80: warning: cannot optimize loop, the loop 
counter may overflow
../../grub-core/fs/zfs/zfs_sha256.c:132: warning: cannot optimize loop, the 
loop counter may overflow
../../grub-core/lib/LzmaEnc.c:1214: warning: cannot optimize possibly infinite 
loops
../../grub-core/io/gzio.c:517: warning: cannot optimize possibly infinite loops
../../grub-core/io/gzio.c:716: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/io/gzio.c:711: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/io/gzio.c:694: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/io/gzio.c:672: warning: cannot optimize loop, the loop counter 
may overflow
../../grub-core/lib/minilzo/minilzo.c:4187: warning: logical '&&' with non-zero 
constant will always evaluate as true
../../grub-core/lib/minilzo/minilzo.c:4526: warning: logical '&&' with non-zero 
constant will always evaluate as true
grub_script.tab.c:2133: warning: cannot optimize loop, the loop counter may 
overflow
../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591: warning: comparison 
between signed and unsigned integer expressions
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173: warning: comparison 
between signed and unsigned integer expressions
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:324: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:347: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:371: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:515: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:539: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:562: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:582: warning: 
dereferencing type-punned pointer will break strict-aliasing rules
../../util/grub-mkfont.c:720: warning: cannot optimize possibly infinite loops
../../../grub-core/gnulib/regexec.c:2802: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regexec.c:2443: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regcomp.c:2588: warning: cannot optimize possibly 
infinite loops
../../../grub-core/gnulib/regcomp.c:2554: warning: cannot optimize possibly 
infinite loops
../../../grub-core/io/gzio.c:517: warning: cannot optimize possibly infinite 
loops
../../../grub-core/io/gzio.c:918: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:931: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:946: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:888: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:876: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:873: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:870: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:716: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:711: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:694: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:672: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:788: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:785: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/io/gzio.c:1009: warning: cannot optimize loop, the loop 
counter may overflow
../../../grub-core/normal/cmdline.c:56: warning: cannot optimize possibly 
infinite loops
../../../grub-core/normal/charset.c:737: warning: cannot optimize possibly 
infinite loops
grub_script.tab.c:2133: warning: cannot optimize loop, the loop counter may 
overflow
../../../grub-core/lib/minilzo/minilzo.c:4187: warning: logical '&&' with 
non-zero constant will always evaluate as true
../../../grub-core/lib/minilzo/minilzo.c:4526: warning: logical '&&' with 
non-zero constant will always evaluate as true
../../../grub-core/lib/libgcrypt-grub/cipher/serpent.c:591: warning: comparison 
between signed and unsigned integer expressions
../../../grub-core/lib/libgcrypt-grub/cipher/rijndael.c:173: warning: 
comparison between signed and unsigned integer expressions

Obviously most of those overlap.

-- 
Len Sorensen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]