Worked with: 138952 Known to fail with: 138966 (and up to at least 139189) Running /x/gcc/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp ... ... FAIL: 27_io/basic_ostream/inserters_other/char/error_code.cc (test for excess errors) WARNING: 27_io/basic_ostream/inserters_other/char/error_code.cc compilation failed to produce executable .log: /x/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc: In function 'void test()': /x/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:49: error: 'sprintf' was not declared in this scope Apparently just a case of missing #include <cstdio> in the test-case. A guess is that the libstdc++ configury change making GLIBCXX_CHECK_STDIO_MACROS unconditional caused it to fail, where it worked before.
Trivial enough not to bother others...
Ok, thanks, patch to include <cstdio> preapproved for mainline.
Well, for 4_3-branch too, because the testcase is buggy anyway, you cannot assume any of the existing includes to bring in <cstdio>.
Don't worry, I'm handling it together with a few other missing <cstdio>...
Subject: Bug 37149 Author: paolo Date: Mon Aug 18 17:48:15 2008 New Revision: 139206 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139206 Log: 2008-08-18 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/37149 * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include <cstdio>. * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc: Likewise. * testsuite/27_io/objects/char/12048-1.cc: Likewise. * testsuite/27_io/objects/char/12048-3.cc: Likewise. * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise. * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise. * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise. * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise. * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise. * testsuite/ext/new_allocator/deallocate_global.cc: Likewise. * testsuite/ext/new_allocator/deallocate_local.cc: Likewise. * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise. * include/std/regex: Include <sstream>. * include/tr1/regex: Likewise. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/std/regex trunk/libstdc++-v3/include/tr1/regex trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc trunk/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc trunk/libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc trunk/libstdc++-v3/testsuite/27_io/objects/char/12048-3.cc trunk/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-1.cc trunk/libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-3.cc trunk/libstdc++-v3/testsuite/ext/malloc_allocator/deallocate_global.cc trunk/libstdc++-v3/testsuite/ext/malloc_allocator/deallocate_local.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-2.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-4.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-1.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-2.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-4.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-6.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-8.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-1.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-5.cc trunk/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-7.cc trunk/libstdc++-v3/testsuite/ext/new_allocator/deallocate_global.cc trunk/libstdc++-v3/testsuite/ext/new_allocator/deallocate_local.cc trunk/libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc
Fixed.
So, fixed.