re PR libstdc++/65883 (numeric_limits<unsigned __int128>::max() returns incorrect value)

2015-04-28  Marc Glisse  <marc.glisse@inria.fr>

	PR libstdc++/65883
	* include/std/limits (numeric_limits): Add missing unsigned.

From-SVN: r222540
This commit is contained in:
Marc Glisse 2015-04-28 21:35:49 +02:00 committed by Marc Glisse
parent 77b7d71e79
commit fa9ac91269
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-04-28 Marc Glisse <marc.glisse@inria.fr>
PR libstdc++/65883
* include/std/limits (numeric_limits): Add missing unsigned.
2015-04-28 Stephan Bergmann <sbergman@redhat.com>
* include/debug/vector (_Safe_vector::operator=): Add missing returns.

View File

@ -1490,7 +1490,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
min() _GLIBCXX_USE_NOEXCEPT { return 0; } \
\
static _GLIBCXX_CONSTEXPR unsigned TYPE \
max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max_b (TYPE, BITSIZE); } \
max() _GLIBCXX_USE_NOEXCEPT \
{ return __glibcxx_max_b (unsigned TYPE, BITSIZE); } \
\
UEXT \
\