Results for 2.16.90 20050314 testsuite on sparc-unknown-linux-gnu

Christian Joensson christian.joensson@gmail.com
Mon Mar 14 10:24:00 GMT 2005


On Mon, 14 Mar 2005 20:48:41 +1030, Alan Modra <amodra@bigpond.net.au> wrote:
> On Mon, Mar 14, 2005 at 10:51:52AM +0100, Christian Joensson wrote:
> > Number of warnings per file:
> >       4 /usr/local/src/trunk/src/ld/ldexp.c
> >       1 /usr/local/src/trunk/src/gprof/gmon_io.c
> 
> Details please.  I'd like to squash all compiler warnings.

gcc4 -m32 -DHAVE_CONFIG_H -I. -I/usr/local/src/trunk/src/ld -I.
-D_GNU_SOURCE -I. -I/usr/local/src/trunk/src/ld -I../bfd
-I/usr/local/src/trunk/src/ld/../bfd
-I/usr/local/src/trunk/src/ld/../include
-I/usr/local/src/trunk/src/ld/../intl -I../intl  -g -O2
-DLOCALEDIR="\"/usr/local/share/locale\""   -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c /usr/local/src/trunk/src/ld/ldexp.c
/usr/local/src/trunk/src/ld/ldexp.c: In function 'exp_fold_tree':
/usr/local/src/trunk/src/ld/ldexp.c:703: warning: 'result$str' is used
uninitialized in this function
/usr/local/src/trunk/src/ld/ldexp.c:703: warning: 'result$section' is
used uninitialized in this function
/usr/local/src/trunk/src/ld/ldexp.c:703: warning: 'result$value' is
used uninitialized in this function
/usr/local/src/trunk/src/ld/ldexp.c:698: warning: 'result$valid_p' may
be used uninitialized in this function

gcc4 -m32 -DHAVE_CONFIG_H -I. -I/usr/local/src/trunk/src/gprof -I.
-D_GNU_SOURCE -DDEBUG -I../bfd
-I/usr/local/src/trunk/src/gprof/../include
-I/usr/local/src/trunk/src/gprof/../bfd
-I/usr/local/src/trunk/src/gprof/../intl -I../intl -I.
-DLOCALEDIR="\"/usr/local/share/locale\""   -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c
/usr/local/src/trunk/src/gprof/gmon_io.c
/usr/local/src/trunk/src/gprof/gmon_io.c: In function 'gmon_out_read':
/usr/local/src/trunk/src/gprof/gmon_io.c:386: warning: 'count' may be
used uninitialized in this function

Cheers,

/ChJ



More information about the Binutils mailing list