Uninitialized error with GCC mainline
Joseph Myers
joseph@codesourcery.com
Fri Mar 10 16:41:00 GMT 2017
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
More information about the Libc-alpha
mailing list