https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64368
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
--- Comment #14 from Rainer Orth <ro at gcc dot gnu.org> ---
I've just confirmed that r218964 is also the cuprit for the (considerably
smaller)
set of 64-bit testsuite failures seen on Solaris (both SPARC and x86):
FAIL: 22_locale/num_get/get/char/37958.cc execution test
FAIL: 22_locale/num_get/get/wchar_t/23953.cc execution test
FAIL: 22_locale/num_get/get/wchar_t/37958.cc execution test
FAIL: 22_locale/num_put/put/char/23953.cc execution test
FAIL: 22_locale/num_put/put/char/38196.cc execution test
FAIL: 22_locale/num_put/put/wchar_t/23953.cc execution test
FAIL: 22_locale/num_put/put/wchar_t/38196.cc execution test
FAIL: 27_io/basic_ostream/inserters_arithmetic/char/1.cc execution test
FAIL: 27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc execution test
The first one e.g. is a SEGV:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
0xffff80ffbf4b2482 in realfree () from /lib/64/libc.so.1
(gdb) where
#0 0xffff80ffbf4b2482 in realfree () from /lib/64/libc.so.1
#1 0xffff80ffbf4b2b70 in _free_unlocked () from /lib/64/libc.so.1
#2 0xffff80ffbf4b2acd in free () from /lib/64/libc.so.1
#3 0xffff80fcc0763a3f in std::__numpunct_cache<char>::~__numpunct_cache (
this=0x419f50, __in_chrg=<optimized out>)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/locale_facets.h:1623
#4 0xffff80fcc0763a71 in std::__numpunct_cache<char>::~__numpunct_cache (
this=0x419f50, __in_chrg=<optimized out>)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/locale_facets.h:1626
#5 0xffff80fcc07ffc37 in std::numpunct<char>::~numpunct (this=0x41a000,
__in_chrg=<optimized out>) at numeric_members_cow.cc:66
#6 0xffff80fcc08109dd in ~numpunct_shim (this=0x41a000,
__in_chrg=<optimized out>)
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:242
#7 std::__facet_shims::(anonymous
namespace)::numpunct_shim<char>::~numpunct_shim (this=0x41a000,
__in_chrg=<optimized out>)
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/src/c++11/cxx11-shim_facets.cc:242
#8 0xffff80fcc07f51ab in std::locale::_Impl::~_Impl() ()
from ../../../amd64/libstdc++-v3/src/.libs/libstdc++.so.6
#9 0xffff80fcc07f53e3 in std::locale::~locale() ()
from ../../../amd64/libstdc++-v3/src/.libs/libstdc++.so.6
#10 0x0000000000404506 in ~basic_ios (this=0xffff80ffbfffef88,
__in_chrg=<optimized out>)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/bits/basic_ios.h:282
#11 ~basic_istringstream (this=0xffff80ffbfffef10, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>)
at
/var/gcc/regression/trunk/11-gcc-gas/build/i386-pc-solaris2.11/amd64/libstdc++-v3/include/sstream:433
#12 test01 ()
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/22_locale/num_get/get/char/23953.cc:75
#13 0x00000000004047e9 in main ()
at
/vol/gcc/src/hg/trunk/local/libstdc++-v3/testsuite/22_locale/num_get/get/char/23953.cc:80
Rainer