https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88078
Bug ID: 88078 Summary: error: '__float128' was not declared in this scope on PowerPC Product: gcc Version: 8.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: noloader at gmail dot com Target Milestone: --- I'm working on GCC112 from the compile farm. I'm having trouble compiling a program with the C++ compiler. $ cat test.cxx #include <altivec.h> #undef vector #undef pixel #undef bool #include <string> #include <vector> typedef __vector unsigned char uint8x16_p; uint8x16_p Foo(const unsigned char* ptr) { return vec_ld(0, ptr); } ========================= Compiling results in: $ /opt/cfarm/gcc-latest/bin/g++ -mcpu=power4 -maltivec -c test.cxx In file included from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/bits/move.h:55, from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/bits/stl_pair.h:59, from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/bits/stl_algobase.h:64, from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/bits/char_traits.h:39, from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/string:40, from test.cxx:6: /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/type_traits:335:39: error: '__float128' was not declared in this scope struct __is_floating_point_helper<__float128> ^~~~~~~~~~ /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/type_traits:335:39: note: suggested alternative: 'vec_float2' struct __is_floating_point_helper<__float128> ^~~~~~~~~~ vec_float2 /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/type_traits:335:49: error: template argument 1 is invalid struct __is_floating_point_helper<__float128> ^ In file included from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/cstdlib:77, from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/ext/string_conversions.h:41, from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/bits/basic_string.h:6391, from /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/string:52, from test.cxx:6: /home/iulius/autobuild/bin/gcc-8.2.0/include/c++/8.2.0/bits/std_abs.h:101:3: error: '__float128' does not name a type; did you mean 'vec_float2'? __float128 ^~~~~~~~~~ vec_float2 ========================= And finally: $ /opt/cfarm/gcc-latest/bin/g++ --version g++ (GCC) 8.2.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.