This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Results for 2.16.90 20050314 testsuite on sparc-unknown-linux-gnu
- From: Christian Joensson <christian dot joensson at gmail dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Mon, 14 Mar 2005 11:24:40 +0100
- Subject: Re: Results for 2.16.90 20050314 testsuite on sparc-unknown-linux-gnu
- References: <20050314095152.GA4586@ultra10.j-son.org> <20050314101841.GA1224@bubble.modra.org>
- Reply-to: Christian Joensson <christian dot joensson at gmail dot com>
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