re PR libstdc++/65352 (array<T,0>::begin()/end() etc. forms a null reference and...
authorJonathan Wakely <jwakely@redhat.com>
Thu, 28 May 2015 16:00:09 +0000 (17:00 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 28 May 2015 16:00:09 +0000 (17:00 +0100)
commitac3efa775fc0013da35f118852a9284d26076d19
treeb246538a784f8d4fc2c49d04184b75c15fc12ef3
parent396e67d21a3194da9d036bdb67e74edfd1030d3f
re PR libstdc++/65352 (array<T,0>::begin()/end() etc. forms a null reference and breaks on clang+ubsan)

PR libstdc++/65352
* include/profile/array (array::data): Use _S_ptr.
* include/debug/array (array::data): Likewise.

From-SVN: r223838
libstdc++-v3/ChangeLog
libstdc++-v3/include/debug/array
libstdc++-v3/include/profile/array