]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
authorJason Merrill <jason@redhat.com>
Wed, 23 Oct 2013 18:08:46 +0000 (14:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 23 Oct 2013 18:08:46 +0000 (14:08 -0400)
From-SVN: r203984

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h

index e5c07bc59a02fcb9592601a3009f86fa6b7bfc03..40470688e5fc001e5552d78f0455fe6ae726a513 100644 (file)
@@ -1,3 +1,7 @@
+2013-10-23  Jason Merrill  <jason@redhat.com>
+
+       * include/bits/hashtable.h (_Hashtable): Force EBO for _Hash_code_base.
+
 2013-10-23  Paolo Carlini  <paolo.carlini@oracle.com>
 
        PR libstdc++/58850
index 43c89b1ce515608b1b99d848fa525ff9afa4bd7e..c639c553d34afad8e0dd08591db68063b9aa8338 100644 (file)
@@ -284,7 +284,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
                    is_default_constructible<
                      // We use _Hashtable_ebo_helper to access the protected
                      // default constructor.
-                     __detail::_Hashtable_ebo_helper<0, __hash_code_base>>>::value,
+                     __detail::_Hashtable_ebo_helper<0, __hash_code_base, true>>>::value,
                    "Cache the hash code or make functors involved in hash code"
                    " and bucket index computation default constructible");