Commit 8f13c4d6 by Paolo Carlini Committed by Paolo Carlini

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
parent 0cb381f0
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.
2006-01-31 Ed Smith-Rowland <3dw4rd@verizon.net>
* docs/html/faq/index.html ([1.0]): Replace references to CVS
......
// 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.
......
// Expected execution error for PR19495.
// { dg-do run { xfail powerpc*-*-linux* } }
// 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment