public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/37149]  New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
@ 2008-08-18 15:23 hp at gcc dot gnu dot org
  2008-08-18 15:23 ` [Bug testsuite/37149] " hp at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-08-18 15:23 UTC (permalink / raw)
  To: gcc-bugs

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.


-- 
           Summary: [4.4 Regression]:
                    27_io/basic_ostream/inserters_other/char/error_code.cc
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
@ 2008-08-18 15:23 ` hp at gcc dot gnu dot org
  2008-08-18 15:25 ` hp at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-08-18 15:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-18 15:22:47
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
  2008-08-18 15:23 ` [Bug testsuite/37149] " hp at gcc dot gnu dot org
@ 2008-08-18 15:25 ` hp at gcc dot gnu dot org
  2008-08-18 15:38 ` paolo dot carlini at oracle dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: hp at gcc dot gnu dot org @ 2008-08-18 15:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hp at gcc dot gnu dot org  2008-08-18 15:24 -------
Trivial enough not to bother others...


-- 

hp at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hp at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-08-18 15:22:47         |2008-08-18 15:24:35
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
  2008-08-18 15:23 ` [Bug testsuite/37149] " hp at gcc dot gnu dot org
  2008-08-18 15:25 ` hp at gcc dot gnu dot org
@ 2008-08-18 15:38 ` paolo dot carlini at oracle dot com
  2008-08-18 15:43 ` paolo dot carlini at oracle dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-18 15:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2008-08-18 15:37 -------
Ok, thanks, patch to include <cstdio> preapproved for mainline.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-08-18 15:38 ` paolo dot carlini at oracle dot com
@ 2008-08-18 15:43 ` paolo dot carlini at oracle dot com
  2008-08-18 17:36 ` paolo dot carlini at oracle dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-18 15:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2008-08-18 15:41 -------
Well, for 4_3-branch too, because the testcase is buggy anyway, you cannot
assume any of the existing includes to bring in <cstdio>.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-08-18 15:43 ` paolo dot carlini at oracle dot com
@ 2008-08-18 17:36 ` paolo dot carlini at oracle dot com
  2008-08-18 17:49 ` paolo at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-18 17:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from paolo dot carlini at oracle dot com  2008-08-18 17:35 -------
Don't worry, I'm handling it together with a few other missing <cstdio>...


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|hp at gcc dot gnu dot org   |paolo dot carlini at oracle
                   |                            |dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-08-18 17:36 ` paolo dot carlini at oracle dot com
@ 2008-08-18 17:49 ` paolo at gcc dot gnu dot org
  2008-08-18 17:51 ` paolo dot carlini at oracle dot com
  2008-08-22 15:37 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: paolo at gcc dot gnu dot org @ 2008-08-18 17:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo at gcc dot gnu dot org  2008-08-18 17:49 -------
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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-08-18 17:49 ` paolo at gcc dot gnu dot org
@ 2008-08-18 17:51 ` paolo dot carlini at oracle dot com
  2008-08-22 15:37 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: paolo dot carlini at oracle dot com @ 2008-08-18 17:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from paolo dot carlini at oracle dot com  2008-08-18 17:50 -------
Fixed.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug testsuite/37149] [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc
  2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-08-18 17:51 ` paolo dot carlini at oracle dot com
@ 2008-08-22 15:37 ` rguenth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-22 15:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2008-08-22 15:36 -------
So, fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37149


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-08-22 15:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-18 15:23 [Bug testsuite/37149] New: [4.4 Regression]: 27_io/basic_ostream/inserters_other/char/error_code.cc hp at gcc dot gnu dot org
2008-08-18 15:23 ` [Bug testsuite/37149] " hp at gcc dot gnu dot org
2008-08-18 15:25 ` hp at gcc dot gnu dot org
2008-08-18 15:38 ` paolo dot carlini at oracle dot com
2008-08-18 15:43 ` paolo dot carlini at oracle dot com
2008-08-18 17:36 ` paolo dot carlini at oracle dot com
2008-08-18 17:49 ` paolo at gcc dot gnu dot org
2008-08-18 17:51 ` paolo dot carlini at oracle dot com
2008-08-22 15:37 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).