This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56346] FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 12 Mar 2013 14:28:22 +0000
- Subject: [Bug c++/56346] FAIL: g++.dg/tls/thread_local3.C -std=gnu++11 (test for excess errors)
- Auto-submitted: auto-generated
- References: <bug-56346-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56346
--- Comment #5 from John David Anglin <danglin at gcc dot gnu.org> 2013-03-12 14:28:22 UTC ---
With patch, build fails with following error:
/test/gnu/gcc/objdir1/./prev-gcc/xg++ -B/test/gnu/gcc/objdir1/./prev-gcc/
-B/opt
/gnu/gcc/gcc-4.8/hppa2.0w-hp-hpux11.11/bin/ -nostdinc++
-B/test/gnu/gcc/objdir1/
prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs
-B/test/gnu/gcc/objdir1/prev-h
ppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs
-I/test/gnu/gcc/objdir1/prev-h
ppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11
-I/test/gnu/gcc/
objdir1/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libs
tdc++-v3/libsupc++
-L/test/gnu/gcc/objdir1/prev-hppa2.0w-hp-hpux11.11/libstdc++-
v3/src/.libs
-L/test/gnu/gcc/objdir1/prev-hppa2.0w-hp-hpux11.11/libstdc++-v3/lib
supc++/.libs -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2 -DIN_GCC
-fno-exce
ptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-st
rings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
-DHAVE_CONFIG_H -I. -Icp -I../../gcc/gcc -I../../gcc/gcc/cp
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/opt/gnu/gcc/gmp/include -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/gcc/../libbacktrace ../../gcc/gcc/cp/pt.c -o cp/pt.o
../../gcc/gcc/cp/decl.c: In function 'tree_node* register_dtor_fn(tree)':
../../gcc/gcc/cp/decl.c:6864:38: error: 'addr' may be used uninitialized in
this function [-Werror=maybe-uninitialized]
arg0, arg1, arg2, NULL_TREE);
^
cc1plus: all warnings being treated as errors