public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/17922] New: Spurious warnings
@ 2004-10-10 13:55 jm at bourguet dot org
  2004-10-11 12:22 ` [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir reichelt at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jm at bourguet dot org @ 2004-10-10 13:55 UTC (permalink / raw)
  To: gcc-bugs

$ cat bug.cc

#include <istream>

void f(std::ios_base::seekdir dir)
{
  switch (dir) {
  case std::ios_base::beg:
    break;
  case std::ios_base::cur:
    break;
  case std::ios_base::end:
    break;
  }
}

$ LANG=C g++-3.4.2 -Wall -c bug.cc 
bug.cc: In function `void f(std::_Ios_Seekdir)':
bug.cc:12: warning: enumeration value `_S_ios_seekdir_end' not handled in switch
bug.cc:12: warning: case value `0' not in enumerated type `_Ios_Seekdir'
bug.cc:12: warning: case value `1' not in enumerated type `_Ios_Seekdir'
bug.cc:12: warning: case value `2' not in enumerated type `_Ios_Seekdir'

These warnings are not very usefull: the code cover all the standard
values and only them but the compiler complaim about missing value and values
not in the type.

Yours,

-- 
Jean-Marc

-- 
           Summary: Spurious warnings
           Product: gcc
           Version: 3.4.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jm at bourguet dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
@ 2004-10-11 12:22 ` reichelt at gcc dot gnu dot org
  2004-10-11 14:47 ` pcarlini at suse dot de
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-11 12:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-10-11 12:21 -------
Confirmed. In fact we have:

  enum _Ios_Seekdir { _S_ios_seekdir_end = 1L << 16 };

  class ios_base
  {
    typedef _Ios_Seekdir seekdir;
    static const seekdir beg = seekdir(0);
    static const seekdir cur = seekdir(1);
    static const seekdir end = seekdir(2);
    // more stuff ...
  };

The problem exists at least since gcc 3.1. In fact the code was already
there in gcc 3.0, but the compiler didn't complain about it.

In 2.95.3 we had:

    enum seek_dir { beg, cur, end};

Therefore I rate this as regression.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic, monitored
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-11 12:21:52
               date|                            |
            Summary|Spurious warnings           |[3.3/3.4/4.0 regression]
                   |                            |Spurious warnings about
                   |                            |std::ios_base::seekdir
   Target Milestone|---                         |3.4.3


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


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

* [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
  2004-10-11 12:22 ` [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir reichelt at gcc dot gnu dot org
@ 2004-10-11 14:47 ` pcarlini at suse dot de
  2004-10-11 20:49 ` bkoz at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pcarlini at suse dot de @ 2004-10-11 14:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pcarlini at suse dot de  2004-10-11 14:47 -------
By the way, the other flags (e.g. openmode, iostate, fmflags) are affected by the
same problem. Unfortunately, I'm not sure we can fix this within the 3.4/4.0 ABI.

-- 


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


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

* [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
  2004-10-11 12:22 ` [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir reichelt at gcc dot gnu dot org
  2004-10-11 14:47 ` pcarlini at suse dot de
@ 2004-10-11 20:49 ` bkoz at gcc dot gnu dot org
  2004-11-01  0:44 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-10-11 20:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-10-11 20:49 -------
could add

  enum _Ios_Seekdir { _S_ios_seekdir_beg = 0, _S_ios_seekdir_cur = 1,
_S_ios_seekdir_end = 2
_S_ios_seekdir_final = 1L << 16 };

This would change the value of (the currently unfortunately named)
_S_ios_seekdir_end, but since this is an implementation feature I think it'd be
ok. Most importantly, the type size would be the same.

We should add compile-only testsuite regressions for this.

-benjamin

-- 


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


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

* [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
                   ` (2 preceding siblings ...)
  2004-10-11 20:49 ` bkoz at gcc dot gnu dot org
@ 2004-11-01  0:44 ` mmitchel at gcc dot gnu dot org
  2004-11-02  5:48 ` bkoz at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-11-01  0:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-11-01 00:44 -------
Postponed until GCC 3.4.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.3                       |3.4.4


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


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

* [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
                   ` (3 preceding siblings ...)
  2004-11-01  0:44 ` mmitchel at gcc dot gnu dot org
@ 2004-11-02  5:48 ` bkoz at gcc dot gnu dot org
  2004-11-02 19:00 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-11-02  5:48 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bkoz at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
                   ` (4 preceding siblings ...)
  2004-11-02  5:48 ` bkoz at gcc dot gnu dot org
@ 2004-11-02 19:00 ` cvs-commit at gcc dot gnu dot org
  2004-11-08 18:02 ` [Bug libstdc++/17922] [3.3/3.4 " cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-02 19:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-02 19:00 -------
Subject: Bug 17922

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bkoz@gcc.gnu.org	2004-11-02 19:00:19

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/config/io: c_io_stdio.h 
	libstdc++-v3/include/bits: ios_base.h 
	libstdc++-v3/src: ios.cc 
	libstdc++-v3/testsuite: testsuite_hooks.h 
	libstdc++-v3/testsuite/27_io/ios_base/cons: assign_neg.cc 
	                                            copy_neg.cc 
Added files:
	libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags: 
	                                                      bitmask_operators.cc 
	                                                      case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/iostate: 
	                                                     bitmask_operators.cc 
	                                                     case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/openmode: 
	                                                      bitmask_operators.cc 
	                                                      case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/seekdir: 
	                                                     case_label.cc 

Log message:
	2004-11-02  Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/17922
	* include/bits/ios_base.h : Add enum values.
	* testsuite/testsuite_hooks.h (bitmask_operators): Add function.
	* testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
	* testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
	* testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
	* testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
	* testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
	* testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
	* testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.
	
	* config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
	* src/ios.cc: Same.
	
	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2743&r2=1.2744
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/io/c_io_stdio.h.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/ios_base.h.diff?cvsroot=gcc&r1=1.41&r2=1.42
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/src/ios.cc.diff?cvsroot=gcc&r1=1.57&r2=1.58
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/testsuite_hooks.h.diff?cvsroot=gcc&r1=1.29&r2=1.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc.diff?cvsroot=gcc&r1=1.10&r2=1.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/case_label.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/case_label.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/case_label.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/seekdir/case_label.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug libstdc++/17922] [3.3/3.4 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
                   ` (5 preceding siblings ...)
  2004-11-02 19:00 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-08 18:02 ` cvs-commit at gcc dot gnu dot org
  2004-11-08 18:05 ` pinskia at gcc dot gnu dot org
  2005-02-21 22:19 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-08 18:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-08 18:02 -------
Subject: Bug 17922

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	bkoz@gcc.gnu.org	2004-11-08 18:02:04

Modified files:
	libstdc++-v3   : ChangeLog 
	libstdc++-v3/config/io: c_io_stdio.h 
	libstdc++-v3/include/bits: ios_base.h 
	libstdc++-v3/src: ios.cc 
	libstdc++-v3/testsuite: testsuite_hooks.h 
	libstdc++-v3/testsuite/27_io/ios_base/cons: assign_neg.cc 
	                                            copy_neg.cc 
Added files:
	libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags: 
	                                                      bitmask_operators.cc 
	                                                      case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/iostate: 
	                                                     bitmask_operators.cc 
	                                                     case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/openmode: 
	                                                      bitmask_operators.cc 
	                                                      case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/seekdir: 
	                                                     case_label.cc 

Log message:
	2004-11-08  Benjamin Kosnik  <bkoz@redhat.com>
	
	PR libstdc++/17922
	* include/bits/ios_base.h : Add enum values.
	* testsuite/testsuite_hooks.h (bitmask_operators): Add function.
	* testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc: New.
	* testsuite/27_io/ios_base/types/fmtflags/case_label.cc: New.
	* testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc: New.
	* testsuite/27_io/ios_base/types/iostate/case_label.cc: New.
	* testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc: New.
	* testsuite/27_io/ios_base/types/openmode/case_label.cc: New.
	* testsuite/27_io/ios_base/types/seekdir/case_label.cc: New.
	
	* config/io/c_io_stdio.h (__ios_flags): Mark deprecated.
	* src/ios.cc: Same.
	
	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
	* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.196&r2=1.2224.2.197
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/io/c_io_stdio.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.7&r2=1.7.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/ios_base.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.37.4.2&r2=1.37.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/src/ios.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.52.4.4&r2=1.52.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/testsuite_hooks.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.25.4.4&r2=1.25.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.8.4.1&r2=1.8.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.8.4.1&r2=1.8.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/bitmask_operators.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/case_label.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/case_label.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/bitmask_operators.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/case_label.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/seekdir/case_label.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1



-- 


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


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

* [Bug libstdc++/17922] [3.3/3.4 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
                   ` (6 preceding siblings ...)
  2004-11-08 18:02 ` [Bug libstdc++/17922] [3.3/3.4 " cvs-commit at gcc dot gnu dot org
@ 2004-11-08 18:05 ` pinskia at gcc dot gnu dot org
  2005-02-21 22:19 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08 18:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-08 18:05 -------
Fixed.

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


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


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

* [Bug libstdc++/17922] [3.3/3.4 regression] Spurious warnings about std::ios_base::seekdir
  2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
                   ` (7 preceding siblings ...)
  2004-11-08 18:05 ` pinskia at gcc dot gnu dot org
@ 2005-02-21 22:19 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-21 22:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-21 16:58 -------
Subject: Bug 17922

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	libstdcxx_so_7-branch
Changes by:	paolo@gcc.gnu.org	2005-02-21 16:58:28

Modified files:
	libstdc++-v3   : ChangeLog.libstdcxx_so_7-branch 
	libstdc++-v3/config/io: c_io_stdio.h 
	libstdc++-v3/include/bits: ios_base.h 
	libstdc++-v3/src: ios.cc 
	libstdc++-v3/testsuite/27_io/ios_base/cons: assign_neg.cc 
	                                            copy_neg.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags: 
	                                                      case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/iostate: 
	                                                     case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/openmode: 
	                                                      case_label.cc 
	libstdc++-v3/testsuite/27_io/ios_base/types/seekdir: 
	                                                     case_label.cc 

Log message:
	2005-02-21  Paolo Carlini  <pcarlini@suse.de>
	
	PR libstdc++/17922 (ABI-unsafe half)
	* config/io/c_io_stdio.h (struct __ios_flags): Remove.
	* include/bits/ios_base.h (enum _Ios_Fmtflags, enum _Ios_Openmode,
	enum _Ios_Iostate, enum _Ios_Seekdir): Remove *_end enumerators.
	(class ios_base): Adjust fmtflags, iostate, openmore, seekdir
	static constants.
	* src/ios.cc: Remove definitions of __ios_flags constants.
	* testsuite/27_io/ios_base/types/fmtflags/case_label.cc: Adjust,
	removing the dummy label.
	* testsuite/27_io/ios_base/types/iostate/case_label.cc: Likewise.
	* testsuite/27_io/ios_base/types/openmode/case_label.cc: Likewise.
	* testsuite/27_io/ios_base/types/seekdir/case_label.cc: Likewise.
	* testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error
	line numbers.
	* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.36&r2=1.1.2.37
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/io/c_io_stdio.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.7.18.1&r2=1.7.18.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/ios_base.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.40.6.3&r2=1.40.6.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/src/ios.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.55.6.2&r2=1.55.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.9.6.2&r2=1.9.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.9.6.2&r2=1.9.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/case_label.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.6.1&r2=1.1.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/iostate/case_label.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.6.1&r2=1.1.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/openmode/case_label.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.6.1&r2=1.1.6.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/seekdir/case_label.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.6.1&r2=1.1.6.2



-- 


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


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

end of thread, other threads:[~2005-02-21 16:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-10 13:55 [Bug libstdc++/17922] New: Spurious warnings jm at bourguet dot org
2004-10-11 12:22 ` [Bug libstdc++/17922] [3.3/3.4/4.0 regression] Spurious warnings about std::ios_base::seekdir reichelt at gcc dot gnu dot org
2004-10-11 14:47 ` pcarlini at suse dot de
2004-10-11 20:49 ` bkoz at gcc dot gnu dot org
2004-11-01  0:44 ` mmitchel at gcc dot gnu dot org
2004-11-02  5:48 ` bkoz at gcc dot gnu dot org
2004-11-02 19:00 ` cvs-commit at gcc dot gnu dot org
2004-11-08 18:02 ` [Bug libstdc++/17922] [3.3/3.4 " cvs-commit at gcc dot gnu dot org
2004-11-08 18:05 ` pinskia at gcc dot gnu dot org
2005-02-21 22:19 ` cvs-commit 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).