any (any::_Storage): Fix alignment of buffer.
authorJonathan Wakely <jwakely@redhat.com>
Sat, 2 May 2015 18:19:39 +0000 (19:19 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 2 May 2015 18:19:39 +0000 (19:19 +0100)
commit563777d7fc12734a838980284a62c6330e1dfd72
tree50292919eb63d1890ca3fc06b4fc3b743a10452a
parentb4f504de775cfbb362943f5bc37771623499c432
any (any::_Storage): Fix alignment of buffer.

* include/experimental/any (any::_Storage): Fix alignment of buffer.
(any::_Internal): Check alignment of type.
* testsuite/experimental/any/cons/aligned.cc: New.
* testsuite/experimental/any/misc/any_cast_neg.cc: Adjust dg-error.

From-SVN: r222729
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/any
libstdc++-v3/testsuite/experimental/any/cons/aligned.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/any/misc/any_cast_neg.cc