2005-01-14 Benjamin Kosnik * testsuite/performance/20_util/allocator/map_thread.cc: Return. * testsuite/performance/20_util/allocator/insert.cc: Remove bogus return, add return. Index: testsuite/performance/20_util/allocator/insert.cc =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/performance/20_util/allocator/insert.cc,v retrieving revision 1.6 diff -c -p -r1.6 insert.cc *** testsuite/performance/20_util/allocator/insert.cc 19 Aug 2004 20:22:45 -0000 1.6 --- testsuite/performance/20_util/allocator/insert.cc 14 Jan 2005 18:53:01 -0000 *************** *** 1,4 **** ! // Copyright (C) 2003, 2004 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 --- 1,4 ---- ! // Copyright (C) 2003, 2004, 2005 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 *************** template *** 92,97 **** --- 92,98 ---- do_test(void* p = NULL) { do_loop(); + return p; } template *************** template *** 123,130 **** pthread_join(t2, NULL); pthread_join(t3, NULL); pthread_join(t4, NULL); - #else - return; #endif } --- 124,129 ---- Index: testsuite/performance/20_util/allocator/map_thread.cc =================================================================== RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/performance/20_util/allocator/map_thread.cc,v retrieving revision 1.6 diff -c -p -r1.6 map_thread.cc *** testsuite/performance/20_util/allocator/map_thread.cc 19 Aug 2004 20:22:45 -0000 1.6 --- testsuite/performance/20_util/allocator/map_thread.cc 14 Jan 2005 18:53:01 -0000 *************** *** 1,4 **** ! // Copyright (C) 2004 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 --- 1,4 ---- ! // Copyright (C) 2004, 2005 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 *************** template *** 64,70 **** for (int c = 0; c < 10; c++) { Container m; - for (unsigned i = 0; i < iterations; ++i) m[i] = i; } --- 64,69 ---- *************** template *** 73,78 **** --- 72,78 ---- { // No point allocating all available memory, repeatedly. } + return p; } template