URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-src/gcc-4.5.1/libstdc++-v3
- from Rev 514 to Rev 565
- ↔ Reverse comparison
Rev 514 → Rev 565
/ChangeLog.or32
1,3 → 1,90
2011-06-12 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* /testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc: |
* /testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc: |
* /testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc: |
* /testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc: |
* /testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc: |
* /testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc: |
* /testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc: |
* /testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc: |
* /testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc: |
* /testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc: |
* /testsuite/27_io/objects/wchar_t/12048-4.cc: |
* /testsuite/27_io/objects/wchar_t/12048-2.cc: |
* /testsuite/27_io/objects/wchar_t/12048-3.cc: |
* /testsuite/27_io/objects/wchar_t/12048-1.cc: |
* /testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: |
* /testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc: |
* /testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: |
* /testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: |
* /testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: |
* /testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: |
* /testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: |
* /testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc: |
* /testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: |
* /testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc: |
* /testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc: |
* /testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: |
* /testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc: |
* /testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc: |
* /testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: |
* /testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc: |
* /testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc: |
* /testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc: |
* /testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: |
* /testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: |
* /testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: |
* /testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: |
* /testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: |
* /testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: |
* /testsuite/27_io/basic_istream/get/wchar_t/2.cc: |
* /testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: |
* /testsuite/27_io/basic_istream/getline/wchar_t/5.cc: |
* /testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: |
* /testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: |
* /testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: |
* /testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc: |
* /testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: |
* /testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: |
* /testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Made XFAIL |
for OpenRISC under newlib, since they depend on non-available |
functionality. |
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: |
* testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc: |
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-1.cc: |
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-2.cc: |
* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: |
* testsuite/21_strings/basic_string/capacity/char/18654.cc: |
* testsuite/21_strings/basic_string/cons/wchar_t/6.cc: |
* testsuite/21_strings/basic_string/append/wchar_t/3.cc: |
* testsuite/26_numerics/valarray/28277.cc: |
* testsuite/22_locale/collate/transform/wchar_t/28277.cc: |
* testsuite/22_locale/collate/transform/char/28277.cc: |
* testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: |
* testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: |
* testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: |
* testsuite/23_containers/vector/profile/vector.cc: |
* testsuite/20_util/clocks/1.cc: Reduced memory requirements for |
OpenRISC with newlib. |
* testsuite/27_io/objects/wchar_t/12048-5.cc: Made XPASS for |
OpenRISC newlib, since the absence of file handling makes this |
test pass. |
* testsuite/22_locale/ctype/scan/wchar_t/1.cc: |
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc: |
Made XFAIL under newlib, due to known issues with that library. |
|
2011-06-12 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* testsuite/tr1/5_numerical_facilities/special_functions/20_riemann_zeta/check_value_neg.cc: |
* testsuite/tr1/5_numerical_facilities/special_functions/20_riemann_zeta/check_value_pos.cc: |
* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: |
* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: |
* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: |
* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc: |
Reduce iterations for OpenRISC Linux, since this is often |
simulated. |
|
2011-02-25 Joern Rennecke <joern.rennecke@embecosm.com> |
|
* testsuite/21_strings/basic_string/requirements/typedefs.cc: |
/testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <iterator> |
#include <fstream> |
#include <algorithm> |
/testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <iterator> |
#include <fstream> |
#include <algorithm> |
/testsuite/27_io/objects/wchar_t/12048-2.cc
15,6 → 15,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <iostream> |
#include <cstdio> |
#include <cwchar> |
/testsuite/27_io/objects/wchar_t/12048-4.cc
15,6 → 15,9
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// OpenRISC does not support file I/O in newlib |
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <iostream> |
#include <cstdio> |
#include <cwchar> |
/testsuite/27_io/objects/wchar_t/12048-1.cc
19,6 → 19,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <iostream> |
#include <cstdio> |
#include <testsuite_hooks.h> |
/testsuite/27_io/objects/wchar_t/12048-3.cc
19,6 → 19,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <iostream> |
#include <cwchar> |
#include <cstdio> |
/testsuite/27_io/objects/wchar_t/12048-5.cc
19,7 → 19,8
// equivalent and interchangable. Currently however, cin.rdbuf()->sungetc() |
// only returns characters that were read with cin.rdbuf()->sbumpc() |
|
// { dg-do run { xfail *-*-* } } |
// Works unexpectedly with OpenRISC 1000 newlib, which has no file I/O |
// { dg-do run { xfail { ! or32-*-elf } } } |
|
#include <iostream> |
#include <cstdio> |
/testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc
19,6 → 19,12
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-options " -DMAX_SIZE_EXP=16" { target { or32-*-elf } } } |
|
#ifndef MAX_SIZE_EXP |
#define MAX_SIZE_EXP 18 |
#endif |
|
#include <sstream> |
#include <testsuite_hooks.h> |
|
27,7 → 33,7
using namespace std; |
bool test __attribute__((unused)) = true; |
|
const unsigned max_size = 1 << 18; |
const unsigned max_size = 1 << MAX_SIZE_EXP; |
|
static wchar_t ref[max_size]; |
wmemset(ref, L'\0', max_size); |
/testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc
19,6 → 19,12
|
// 27.7.1.3 basic_stringbuf overridden virtual functions. |
|
// { dg-options " -DSTR_ITER=100000" { target { or32-*-elf } } } |
|
#ifndef STR_ITER |
#define STR_ITER 10000000 |
#endif |
|
#include <sstream> |
#include <cstdlib> |
#include <testsuite_hooks.h> |
51,6 → 57,6
|
int main() |
{ |
test01(10000000); |
test01(STR_ITER); |
return 0; |
} |
/testsuite/27_io/basic_istream/get/wchar_t/2.cc
19,6 → 19,9
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// OpenRISC does not support file I/O in newlib |
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_istream/ignore/wchar_t/2.cc
17,6 → 17,8
|
// 27.6.1.3 unformatted input functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <string> |
#include <fstream> |
/testsuite/27_io/basic_istream/ignore/wchar_t/3.cc
19,6 → 19,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <fstream> |
#include <limits> |
/testsuite/27_io/basic_istream/getline/wchar_t/5.cc
17,6 → 17,8
|
// 27.6.1.3 unformatted input functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <string> |
#include <fstream> |
/testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc
22,6 → 22,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc
20,6 → 20,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc
19,6 → 19,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc
25,6 → 25,9
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// OpenRISC does not support file I/O in newlib |
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc
20,6 → 20,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_istream/tellg/wchar_t/1.cc
20,6 → 20,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc
20,6 → 20,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc
19,6 → 19,8
|
// 27.6.1.2.3 basic_istream::operator>> |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <string> |
#include <fstream> |
/testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc
19,6 → 19,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ostream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc
17,6 → 17,8
|
// 27.6.2.4 basic_ostream seek members |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ostream> |
#include <sstream> |
#include <fstream> |
/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-do run { xfail newlib } } |
|
#include <cstdio> // for swprintf |
#include <iostream> |
#include <iomanip> |
/testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc
19,6 → 19,8
// @require@ %-*.tst %-*.txt |
// @diff@ %-*.tst %-*.txt |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ostream> |
#include <istream> |
#include <fstream> |
/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-1.cc
19,6 → 19,12
|
// 27.6.2.5.4 basic_ostream character inserters |
|
// { dg-options " -DSTR_LEN=500000" { target { or32-*-elf } } } |
|
#ifndef STR_LEN |
#define STR_LEN 5000000 |
#endif |
|
#include <ostream> |
#include <sstream> |
#include <testsuite_hooks.h> |
30,7 → 36,7
bool test __attribute__((unused)) = true; |
|
wostringstream oss_01; |
const string str_01(5000000, 'a'); |
const string str_01(STR_LEN, 'a'); |
|
oss_01 << str_01.c_str(); |
|
/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-2.cc
19,6 → 19,11
|
// 27.6.2.5.4 basic_ostream character inserters |
|
// { dg-options " -DSTR_LEN=500000" { target { or32-*-elf } } } |
|
#ifndef STR_LEN |
#define STR_LEN 5000000 |
#endif |
#include <ostream> |
#include <sstream> |
#include <testsuite_hooks.h> |
32,7 → 37,7
wostringstream oss_01; |
const string str_01(50, 'a'); |
|
oss_01.width(5000000); |
oss_01.width(STR_LEN); |
const streamsize width = oss_01.width(); |
|
oss_01 << str_01.c_str(); |
/testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc
18,6 → 18,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <locale> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <locale> |
#include <algorithm> |
/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <testsuite_hooks.h> |
|
/testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc
17,6 → 17,8
|
// 27.8.1.3 filebuf member functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc
17,6 → 17,8
|
// 27.8.1.3 filebuf member functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc
17,6 → 17,8
|
// 27.8.1.3 filebuf member functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc
17,6 → 17,8
|
// 27.8.1.3 filebuf member functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <locale> |
#include <cstdio> |
/testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <locale> |
#include <cstdio> |
/testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <string> |
#include <iterator> |
/testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc
19,6 → 19,8
|
// { dg-require-binary-io "" } |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <locale> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <locale> |
#include <fstream> |
#include <testsuite_hooks.h> |
/testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc
17,6 → 17,8
|
// 27.8.1.4 Overridden virtual functions |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <fstream> |
#include <locale> |
#include <algorithm> |
/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc
17,6 → 17,8
|
// 21.3.7.9 inserters and extractors |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <string> |
#include <fstream> |
/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc
17,6 → 17,8
|
// 21.3.7.9 inserters and extractors |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <istream> |
#include <string> |
#include <fstream> |
/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc
24,6 → 24,8
// working, not to mention other major details like char_traits, and |
// all of the string class. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <string> |
#include <fstream> |
#include <iostream> |
/testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc
19,6 → 19,12
|
// 21.3.3 string capacity |
|
// { dg-options " -DSTR_MAX_SIZE=16" { target { or32-*-elf } } } |
|
#ifndef STR_MAX_SIZE |
#define STR_MAX_SIZE 20 |
#endif |
|
#include <string> |
#include <testsuite_hooks.h> |
|
34,7 → 40,7
// and shrink-to-fit (in the future, maybe this will change |
// for short strings). |
const size_type minsize = 2 << 0; |
const size_type maxsize = 2 << 20; |
const size_type maxsize = 2 << STR_MAX_SIZE; |
for (size_type i = minsize; i <= maxsize; i *= 2) |
{ |
wstring str(i, L'x'); |
/testsuite/21_strings/basic_string/capacity/char/18654.cc
22,6 → 22,12
#include <string> |
#include <testsuite_hooks.h> |
|
// { dg-options " -DSTR_MAX_SIZE=16" { target { or32-*-elf } } } |
|
#ifndef STR_MAX_SIZE |
#define STR_MAX_SIZE 20 |
#endif |
|
// libstdc++/18654 |
void test01() |
{ |
34,7 → 40,7
// and shrink-to-fit (in the future, maybe this will change |
// for short strings). |
const size_type minsize = 2 << 0; |
const size_type maxsize = 2 << 20; |
const size_type maxsize = 2 << STR_MAX_SIZE; |
for (size_type i = minsize; i <= maxsize; i *= 2) |
{ |
string str(i, 'x'); |
/testsuite/21_strings/basic_string/cons/wchar_t/6.cc
19,6 → 19,12
|
// 21.3.1 basic_string constructors. |
|
// { dg-options " -DSTR_ITER=10" { target { or32-*-elf } } } |
|
#ifndef STR_ITER |
#define STR_ITER 13 |
#endif |
|
#include <iterator> |
#include <sstream> |
#include <cstdlib> |
50,6 → 56,6
|
int main() |
{ |
test01(13); |
test01(STR_ITER); |
return 0; |
} |
/testsuite/21_strings/basic_string/append/wchar_t/3.cc
19,6 → 19,12
|
// 21.3.5 string modifiers |
|
// { dg-options " -DSTR_LOOP_SIZE=9" { target { or32-*-elf } } } |
|
#ifndef STR_LOOP_SIZE |
#define STR_LOOP_SIZE 18 |
#endif |
|
#include <string> |
#include <testsuite_hooks.h> |
|
37,7 → 43,7
{ |
wstring one(source); |
wstring two(source); |
for (unsigned j = 0; j < 18; ++j) |
for (unsigned j = 0; j < STR_LOOP_SIZE; ++j) |
{ |
VERIFY( one == two ); |
one.append(one); |
/testsuite/26_numerics/valarray/28277.cc
17,6 → 17,12
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-options " -DVALARRAY_SIZE=500000" { target { or32-*-elf } } } |
|
#ifndef VALARRAY_SIZE |
#define VALARRAY_SIZE 5000000 |
#endif |
|
#include <valarray> |
#include <testsuite_hooks.h> |
|
25,7 → 31,7
{ |
bool test __attribute__((unused)) = true; |
|
const std::valarray<int> v1(1, 5000000); |
const std::valarray<int> v1(1, VALARRAY_SIZE); |
|
const std::valarray<int> v2 = v1.shift(1); |
VERIFY( v2.size() == v1.size() ); |
/testsuite/ext/pb_ds/regression/hash_data_map_rand.cc
40,8 → 40,10
#include <regression/rand/assoc/rand_regression_test.hpp> |
#include <regression/common_type.hpp> |
|
// This can take long on simulators, timing out the test. |
// This can take long on simulators, timing out the test. Also change on |
// OpenRISC linux, since this may be a remotely simulated target. |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target simulator } } |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target or32-*-linux } } |
// { dg-timeout-factor 2.0 } |
#ifndef ITERATIONS |
#define ITERATIONS 5000 |
/testsuite/ext/pb_ds/regression/trie_data_map_rand.cc
40,8 → 40,10
#include <regression/rand/assoc/rand_regression_test.hpp> |
#include <regression/common_type.hpp> |
|
// This can take long on simulators, timing out the test. |
// This can take long on simulators, timing out the test. Also change on |
// OpenRISC linux, since this may be a remotely simulated target. |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target simulator } } |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target or32-*-linux } } |
// { dg-timeout-factor 2.0 } |
#ifndef ITERATIONS |
#define ITERATIONS 5000 |
/testsuite/ext/pb_ds/regression/tree_data_map_rand.cc
40,8 → 40,10
#include <regression/rand/assoc/rand_regression_test.hpp> |
#include <regression/common_type.hpp> |
|
// This can take long on simulators, timing out the test. |
// This can take long on simulators, timing out the test. Also change on |
// OpenRISC linux, since this may be a remotely simulated target. |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target simulator } } |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target or32-*-linux } } |
// { dg-timeout-factor 2.0 } |
#ifndef ITERATIONS |
#define ITERATIONS 5000 |
/testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc
40,8 → 40,10
#include <regression/rand/assoc/rand_regression_test.hpp> |
#include <regression/common_type.hpp> |
|
// This can take long on simulators, timing out the test. |
// This can take long on simulators, timing out the test. Also change on |
// OpenRISC linux, since this may be a remotely simulated target. |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target simulator } } |
// { dg-options "-DPB_DS_REGRESSION -DITERATIONS=5" { target or32-*-linux } } |
// { dg-timeout-factor 2.0 } |
#ifndef ITERATIONS |
#define ITERATIONS 5000 |
/testsuite/ext/stdio_sync_filebuf/wchar_t/1.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ext/stdio_sync_filebuf.h> |
#include <cstring> |
#include <testsuite_hooks.h> |
/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-1.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ext/stdio_sync_filebuf.h> |
#include <testsuite_hooks.h> |
|
/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-2.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ext/stdio_sync_filebuf.h> |
#include <testsuite_hooks.h> |
|
/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-3.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ext/stdio_sync_filebuf.h> |
#include <testsuite_hooks.h> |
|
/testsuite/ext/stdio_sync_filebuf/wchar_t/12948-4.cc
17,6 → 17,8
// with this library; see the file COPYING3. If not see |
// <http://www.gnu.org/licenses/>. |
|
// { dg-xfail-run-if "not supported on OR32 newlib" { or32-*-elf } } |
|
#include <ext/stdio_sync_filebuf.h> |
#include <testsuite_hooks.h> |
|
/testsuite/22_locale/collate/transform/wchar_t/28277.cc
19,6 → 19,12
|
// 22.2.4.1.1 collate members |
|
// { dg-options " -DSTR_LEN=100000" { target { or32-*-elf } } } |
|
#ifndef STR_LEN |
#define STR_LEN 10000000 |
#endif |
|
#include <locale> |
#include <testsuite_hooks.h> |
|
36,7 → 42,7
// cache the collate facets |
const collate<wchar_t>& coll_c = use_facet<collate<wchar_t> >(loc_c); |
|
const string_type sstr(10000000, L'a'); |
const string_type sstr(STR_LEN, L'a'); |
|
const string_type dstr = coll_c.transform(sstr.data(), |
sstr.data() + sstr.size()); |
/testsuite/22_locale/collate/transform/char/28277.cc
19,6 → 19,12
|
// 22.2.4.1.1 collate members |
|
// { dg-options " -DSTR_LEN=1000000" { target { or32-*-elf } } } |
|
#ifndef STR_LEN |
#define STR_LEN 10000000 |
#endif |
|
#include <locale> |
#include <testsuite_hooks.h> |
|
36,7 → 42,7
// cache the collate facets |
const collate<char>& coll_c = use_facet<collate<char> >(loc_c); |
|
const string_type sstr(10000000, 'a'); |
const string_type sstr(STR_LEN, 'a'); |
|
const string_type dstr = coll_c.transform(sstr.data(), |
sstr.data() + sstr.size()); |
/testsuite/22_locale/ctype/scan/wchar_t/1.cc
18,7 → 18,7
// <http://www.gnu.org/licenses/>. |
|
|
// { dg-do run } |
// { dg-do run { xfail newlib } } |
|
#include <locale> |
#include <testsuite_hooks.h> |
/testsuite/22_locale/time_put/put/wchar_t/12439_1.cc
17,6 → 17,9
|
// 22.2.5.3.1 time_put members |
|
// { dg-do run { target { ! or32-*-elf } } } |
// { dg-do compile { target or32-*-elf } } |
|
#include <locale> |
#include <sstream> |
#include <ctime> |
/testsuite/22_locale/time_put/put/wchar_t/12439_2.cc
17,6 → 17,9
|
// 22.2.5.3.1 time_put members |
|
// { dg-do run { target { ! or32-*-elf } } } |
// { dg-do compile { target or32-*-elf } } |
|
#include <locale> |
#include <sstream> |
#include <ctime> |
/testsuite/22_locale/time_put/put/wchar_t/12439_3.cc
17,6 → 17,9
|
// 22.2.5.3.1 time_put members |
|
// { dg-do run { target { ! or32-*-elf } } } |
// { dg-do compile { target or32-*-elf } } |
|
#include <locale> |
#include <sstream> |
#include <ctime> |
/testsuite/tr1/5_numerical_facilities/special_functions/20_riemann_zeta/check_value_neg.cc
19,8 → 19,10
|
// riemann_zeta |
|
// This can take long on simulators, timing out the test. |
// This can take long on simulators, timing out the test. Also change on |
// OpenRISC linux, since this may be a remotely simulated target. |
// { dg-options "-DMAX_ITERATIONS=5" { target simulator } } |
// { dg-options "-DMAX_ITERATIONS=5" { target or32-*-linux } } |
|
#ifndef MAX_ITERATIONS |
#define MAX_ITERATIONS (sizeof(data001) / sizeof(testcase_riemann_zeta<double>)) |
/testsuite/tr1/5_numerical_facilities/special_functions/20_riemann_zeta/check_value_pos.cc
19,8 → 19,10
|
// riemann_zeta |
|
// This can take long on simulators, timing out the test. |
// This can take long on simulators, timing out the test. Also change on |
// OpenRISC linux, since this may be a remotely simulated target. |
// { dg-options "-DMAX_ITERATIONS=5" { target simulator } } |
// { dg-options "-DMAX_ITERATIONS=5" { target or32-*-linux } } |
|
#ifndef MAX_ITERATIONS |
#define MAX_ITERATIONS (sizeof(data001) / sizeof(testcase_riemann_zeta<double>)) |
/testsuite/23_containers/vector/profile/vector.cc
1,6 → 1,12
// Test vector: performance difference 25% (0.444s vs 0.539s) |
// Advice: set tmp as 10000 |
|
// { dg-options " -DVEC_ITER=200" { target { or32-*-elf } } } |
|
#ifndef VEC_ITER |
#define VEC_ITER 2000 |
#endif |
|
#include <vector> |
|
using std::vector; |
9,9 → 15,9
{ |
vector <int> tmp; |
|
for (int j=0; j<2000; j++) |
for (int j=0; j<VEC_ITER; j++) |
// Insert more than default item |
for (int i=0; i<10000; i++) { |
for (int i=0; i<(5*VEC_ITER); i++) { |
tmp.push_back(i); |
} |
} |
/testsuite/20_util/clocks/1.cc
20,6 → 20,9
|
// 20.8.5 Clocks [time.clock] |
|
// { dg-do run { target { ! or32-*-elf } } } |
// { dg-do compile { target or32-*-elf } } |
|
#include <chrono> |
|
// 20.8.5.1 system_clock [time.clock.system] |