* include/std/stdexcept: Don't use non-static member in sizeof.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218997
138bc75d-0d04-0410-961f-
82ee72b054a4
+2014-12-21 Jonathan Wakely <jwakely@redhat.com>
+
+ PR libstdc++/64367
+ * include/std/stdexcept: Don't use non-static member in sizeof.
+
2014-12-20 François Dumont <fdumont@gcc.gnu.org>
* include/debug/vector (std::__debug::vector<>::clear()): Do not reset
{
union {
const char* _M_p;
- char _M_bytes[sizeof(_M_p)];
+ char _M_bytes[sizeof(const char*)];
};
__cow_string();