https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68353
Bug ID: 68353 Summary: [6 Regression] libstdc++-v3/include/bits/basic_string. h:5524:31: error: 'wcstoll' is not a member of 'std' Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org Target Milestone: --- Host: hppa*-*-hpux* Target: hppa*-*-hpux* Build: hppa*-*-hpux* Created attachment 36713 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36713&action=edit Preprocessed source In stage1, we have: make[4]: Entering directory `/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++- v3' Making all in includemake[5]: Entering directory `/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include' mkdir -p ./hppa64-hp-hpux11.11/bits/stdc++.h.gch/test/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc -B/test/gnu/gcc/objdir/./gcc -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/lib/ -isystem /opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/include -isystem /opt/gnu64/gcc/gcc-6/hppa64-hp-hpux11.11/sys-include -x c++-header -nostdinc++ -g -O2 -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x /test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h \ -o hppa64-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch In file included from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/string:52:0, from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/locale_classes.h:40, from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/ios_base.h:41, from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ios:42, from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/istream:38, from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/sstream:38, from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/complex:45, from /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/ccomplex:38, from /test/gnu/gcc/gcc/libstdc++-v3/include/precompiled/stdc++.h:52: /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const wstring&, std::size_t*, int)': /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h:5524:31: error: 'wcstoll' is not a member of 'std' { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(), ^~~ /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h: In function 'long long unsigned int std::__cxx11::stoull(const wstring&, std::size_t*, int)': /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h:5529:31: error: 'wcstoull' is not a member of 'std' { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(), ^~~ /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h: In function 'float std::__cxx11::stof(const wstring&, std::size_t*)': /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h:5535:31: error: 'wcstof' is not a member of 'std' { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); } ^~~ /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h: In function 'long double std::__cxx11::stold(const wstring&, std::size_t*)': /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/bits/basic_string.h:5543:31: error: 'wcstold' is not a member of 'std' { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); } ^~~ make[5]: *** [hppa64-hp-hpux11.11/bits/stdc++.h.gch/O2ggnu++0x.gch] Error 1 make[5]: Leaving directory `/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include' make[4]: *** [all-recursive] Error 1