diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-31 17:46:07 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-31 17:46:07 +0000 |
| commit | 372275254a4fbacaf367168c19c76f8e33165745 (patch) | |
| tree | 04c66f7c814645777a88487a78ec3624efccfb5c /libstdc++-v3/include/tr1/array | |
| parent | 8774928b512078b33198fa406c31817b64a1b3bf (diff) | |
| download | ppe42-gcc-372275254a4fbacaf367168c19c76f8e33165745.tar.gz ppe42-gcc-372275254a4fbacaf367168c19c76f8e33165745.zip | |
2006-01-31 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21554
* include/tr1/array (array<>::_M_instance): Maximally align.
* testsuite/ext/array_allocator/2.cc: Do not xfail for powerpc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/tr1/array')
| -rw-r--r-- | libstdc++-v3/include/tr1/array | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/tr1/array b/libstdc++-v3/include/tr1/array index bdef568f0cd..5f504851847 100644 --- a/libstdc++-v3/include/tr1/array +++ b/libstdc++-v3/include/tr1/array @@ -1,6 +1,6 @@ // class template array -*- C++ -*- -// Copyright (C) 2004, 2005 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -64,7 +64,7 @@ _GLIBCXX_BEGIN_NAMESPACE(tr1) enum { _S_index = _Nm }; // Support for zero-sized arrays mandatory. - value_type _M_instance[_Nm ? _Nm : 1]; + value_type _M_instance[_Nm ? _Nm : 1] __attribute__((__aligned__)); // No explicit construct/copy/destroy for aggregate type. |

