This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Oct 2012 20:23:43 +0000
- Subject: [Bug libstdc++/40856] numeric_limits not specialized for __int128_t or __uint128_t
- Auto-submitted: auto-generated
- References: <bug-40856-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40856
--- Comment #13 from Marc Glisse <glisse at gcc dot gnu.org> 2012-10-25 20:23:43 UTC ---
(In reply to comment #12)
> If I can declare a variable of a non-standard extension-type with some
> compiler flags in effect, e.g., -std=c++11, then I should also be able
> to get a sensible answer from std::numeric_limits and <type_traits>
> with the same compiler flags.
*If* that's what's wanted, defined(__SIZEOF_INT128__) is the right test
(_GLIBCXX_USE_INT128 could use it in its definition).