Executing on host: /home/dave/gcc-4.5/objdir/./gcc/g++ -shared-libgcc -B/home/da ve/gcc-4.5/objdir/./gcc -nostdinc++ -L/home/dave/gcc-4.5/objdir/hppa-linux/libst dc++-v3/src -L/home/dave/gcc-4.5/objdir/hppa-linux/libstdc++-v3/src/.libs -B/hom e/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.5.0/ hppa-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/include -is ystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/sys-include -g -O2 -D_GLIBCXX_ ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOUR CE -g -O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I/home/dave/gcc-4.5/objdir/ hppa-linux/libstdc++-v3/include/hppa-linux -I/home/dave/gcc-4.5/objdir/hppa-linu x/libstdc++-v3/include -I/home/dave/gcc-4.5/gcc/libstdc++-v3/libsupc++ -I/home/d ave/gcc-4.5/gcc/libstdc++-v3/include/backward -I/home/dave/gcc-4.5/gcc/libstdc++ -v3/testsuite/util /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/ext/array_alloc ator/check_delete.cc ./libtestc++.a -Wl,--gc-sections -lm -o ./check_dele te.exe (timeout = 600) In file included from /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/ext/array_al locator/check_delete.cc:24:0: /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'bool __gnu_test::check_new(Alloc)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:66:8: error: 'logic_error' is not a member of 'std' /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'bool __gnu_test::check_delete(Alloc)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:81:8: error: 'logic_error' is not a member of 'std' /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'void* operator new(size_t)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:88:37: error: 'printf' was not declared in this scope /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'void operator delete(void*)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:98:40: error: 'printf' was not declared in this scope compiler exited with status 1 output is: In file included from /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/ext/array_al locator/check_delete.cc:24:0: /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'bool __gnu_test::check_new(Alloc)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:66:8: error: 'logic_error' is not a member of 'std' /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'bool __gnu_test::check_delete(Alloc)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:81:8: error: 'logic_error' is not a member of 'std' /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'void* operator new(size_t)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:88:37: error: 'printf' was not declared in this scope /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h: In function 'void operator delete(void*)': /home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/util/replacement_memory_operators. h:98:40: error: 'printf' was not declared in this scope
FAIL: ext/array_allocator/check_delete.cc (test for excess errors) Similar fails: FAIL: ext/array_allocator/check_new.cc (test for excess errors) FAIL: ext/bitmap_allocator/check_delete.cc (test for excess errors) FAIL: ext/bitmap_allocator/check_new.cc (test for excess errors) FAIL: ext/debug_allocator/check_delete.cc (test for excess errors) AIL: ext/debug_allocator/check_new.cc (test for excess errors) FAIL: ext/malloc_allocator/check_delete.cc (test for excess errors) FAIL: ext/malloc_allocator/check_new.cc (test for excess errors) FAIL: ext/malloc_allocator/deallocate_global.cc (test for excess errors) FAIL: ext/malloc_allocator/deallocate_local.cc (test for excess errors) FAIL: ext/mt_allocator/check_delete.cc (test for excess errors) FAIL: ext/mt_allocator/check_new.cc (test for excess errors) FAIL: ext/new_allocator/deallocate_global.cc (test for excess errors) FAIL: ext/new_allocator/deallocate_local.cc (test for excess errors) FAIL: ext/pool_allocator/check_delete.cc (test for excess errors) FAIL: ext/pool_allocator/check_new.cc (test for excess errors) These occur building with pch disabled. -- Summary: FAIL: ext/array_allocator/check_delete.cc (test for excess errors) Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40917