diff options
author | Paolo Carlini <pcarlini@suse.de> | 2006-01-31 17:46:07 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-01-31 17:46:07 +0000 |
commit | 8f13c4d68fa3f5328f93cde8274152f8da5bd341 (patch) | |
tree | 04c66f7c814645777a88487a78ec3624efccfb5c /libstdc++-v3/include/tr1/array | |
parent | 0cb381f0424c0212a0a7d432804b4fd92bec837c (diff) | |
download | gcc-8f13c4d68fa3f5328f93cde8274152f8da5bd341.zip gcc-8f13c4d68fa3f5328f93cde8274152f8da5bd341.tar.gz gcc-8f13c4d68fa3f5328f93cde8274152f8da5bd341.tar.bz2 |
re PR libstdc++/21554 (ext/array_allocator/2.cc execution fails)
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.
From-SVN: r110445
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 bdef568..5f50485 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. |