Author: sebor Date: Tue Dec 4 11:05:36 2007 New Revision: 601040 URL: http://svn.apache.org/viewvc?rev=601040&view=rev Log: 2007-11-29 Travis Vitek <[EMAIL PROTECTED]>
STDCXX-604 * tests/regress/23.bitset.cons.stdcxx-297.cpp (main): Avoid passing temporary to constructor to work around ICE with IBM VA C++. Modified: incubator/stdcxx/trunk/tests/regress/23.bitset.cons.stdcxx-297.cpp Modified: incubator/stdcxx/trunk/tests/regress/23.bitset.cons.stdcxx-297.cpp URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/regress/23.bitset.cons.stdcxx-297.cpp?rev=601040&r1=601039&r2=601040&view=diff ============================================================================== --- incubator/stdcxx/trunk/tests/regress/23.bitset.cons.stdcxx-297.cpp (original) +++ incubator/stdcxx/trunk/tests/regress/23.bitset.cons.stdcxx-297.cpp Tue Dec 4 11:05:36 2007 @@ -39,7 +39,8 @@ char buf [size + 4]; memset (buf, '\xff', sizeof (buf)); - BitSet* btest = new (buf) BitSet (std::basic_string<int> ()); + const std::basic_string<int> s; + BitSet* btest = new (buf) BitSet (s); for (std::size_t i = size; i < sizeof (buf); ++i) assert ('\xff' == buf [i]);