This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Uninitialized error with GCC mainline
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: <libc-alpha at sourceware dot org>
- Date: Fri, 10 Mar 2017 16:41:19 +0000
- Subject: Re: Uninitialized error with GCC mainline
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1703030151030.18481@digraph.polyomino.org.uk> <20170303151341.GA28853@x4> <20170308143235.GA6437@x4>
On Wed, 8 Mar 2017, Markus Trippelsdorf wrote:
> > There are many more similar warnings later on.
> > This started with gcc's rr245840. It would be could if someone could
> > analyze the issues and open gcc bugs if necessary.
>
> The issue was fixed by gcc's r245976. I can now build glibc with gcc
> trunk without any warning at -O3.
I don't know if it's a remaining case of the same issue, or something
else, but there are still -Wuninitialized errors building the testsuite
for x86_64 with GCC mainline.
../sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: In function 'sincos_vlen4':
../sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c:34:46: error: 'mr1' is used uninitialized in this function [-Werror=uninitialized]
VECTOR_WRAPPER_fFF_3 (WRAPPER_NAME (sincos), _ZGVcN4vvv_sincos)
^~~~~~~~~~~~~~~~~
--
Joseph S. Myers
joseph@codesourcery.com