2.4.0-test6-pre1 -- Warnings in arch/i386/math-emu.

From: Miles Lane (miles@speakeasy.org)
Date: Tue Aug 01 2000 - 19:40:27 EST


I notice that kernels are no longer set to compile with
-Werror, but in case people still care, here are the
warnings I hit today in arch/i386/math-emu:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_add_sub.o reg_add_sub.c
reg_add_sub.c: In function `FPU_sub':
reg_add_sub.c:143: warning: `tag' might be used uninitialized in this
function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_compare.o reg_compare.c
reg_compare.c: In function `FPU_compare_st_data':
reg_compare.c:177: warning: `f' might be used uninitialized in this
function
reg_compare.c: In function `compare_st_st':
reg_compare.c:219: warning: `f' might be used uninitialized in this
function
reg_compare.c: In function `compare_u_st_st':
reg_compare.c:271: warning: `f' might be used uninitialized in this
function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_ld_str.o reg_ld_str.c
reg_ld_str.c: In function `FPU_store_single':
reg_ld_str.c:635: warning: `templ' might be used uninitialized in this
function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_divide.o reg_divide.c
reg_divide.c: In function `FPU_div':
reg_divide.c:206: warning: control reaches end of non-void function

gcc -D__KERNEL__ -I/usr/src/linux-2.4.0-test5/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686
-fno-strict-aliasing -c -o reg_mul.o reg_mul.c
reg_mul.c: In function `FPU_mul':
reg_mul.c:131: warning: control reaches end of non-void function

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:07 EST