libstdc++: Remove _GLIBCXX_USE_INT128 autoconf macro
We don't need to decide whether to use __int128 when running configure, we can do so at compilation time by seeing if __SIZEOF_INT128__ is defined and if it's greater than __SIZEOF_LONG_LONG__. This removes another unnecessary architecture-specific config macro in <bits/c++config.h>, so the same header can work for 32-bit or 64-bit compilation on AIX. libstdc++-v3/ChangeLog: * acinclude.m4 (GLIBCXX_ENABLE_INT128_FLOAT128): Remove checks for __int128 and rename to GLIBCXX_ENABLE_FLOAT128. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Adjust to use GLIBCXX_ENABLE_FLOAT128. * include/bits/random.h (_Select_uint_least_t<s, 1>): Use __SIZEOF_INT128__ to decide whether to use __int128. * include/std/charconv (__to_chars_unsigned_type): Likewise.
Showing
- libstdc++-v3/acinclude.m4 4 additions, 32 deletionslibstdc++-v3/acinclude.m4
- libstdc++-v3/config.h.in 0 additions, 3 deletionslibstdc++-v3/config.h.in
- libstdc++-v3/configure 1 addition, 35 deletionslibstdc++-v3/configure
- libstdc++-v3/configure.ac 1 addition, 1 deletionlibstdc++-v3/configure.ac
- libstdc++-v3/include/bits/random.h 1 addition, 1 deletionlibstdc++-v3/include/bits/random.h
- libstdc++-v3/include/std/charconv 1 addition, 1 deletionlibstdc++-v3/include/std/charconv
Loading
Please register or sign in to comment