[Bug libstdc++/39598] New: Invocation of the interface basic_istream::seekg(pos_type pos) calls rdbuf()->pubseekpos(pos) with wrong argument.
Invocation of the interface basic_istream::seekg(pos_type pos) should call rdbuf()->pubseekpos(pos), but it calls rdbuf()->pubseekpos(pos, ios_base::out). Elimination: -- Replace the call rdbuf()->pubseekpos(pos, ios_base::out) with rdbuf()->pubseekpos(pos). -- Summary: Invocation of the interface basic_istream::seekg(pos_type pos) calls rdbuf()- >pubseekpos(pos) with wrong argument. Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vmartirosyan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39598
[Bug libstdc++/39599] New: Invocation of the interface basic_istream::seekg(off_type& off, ios_base::seekdir dir) calls rdbuf()->pubseekoff(off, dir) with wrong third argument.
Standard states that invocation of the interface basic_istream::seekg(off_type& off, ios_base::seekdir dir) should call rdbuf()->pubseekoff(off, dir), but it calls rdbuf()->pubseekoff(off, dir, ios_base::in). Elimination: -- Replace the call rdbuf()->pubseekoff(off, dir, ios_base::in) with rdbuf()->pubseekoff(off, dir). -- Summary: Invocation of the interface basic_istream::seekg(off_type& off, ios_base::seekdir dir) calls rdbuf()->pubseekoff(off, dir) with wrong third argument. Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vmartirosyan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39599
[Bug libstdc++/39597] New: Invocation of the interface basic_ostream::seekp(off_type& off, ios_base::seekdir dir) calls rdbuf()->pubseekoff(off, dir) with wrong third argument.
Standard states that invocation of the interface basic_ostream::seekp(off_type& off, ios_base::seekdir dir) should call rdbuf()->pubseekoff(off, dir), but it calls rdbuf()->pubseekoff(off, dir, ios_base::out). Elimination: -- Replace the call rdbuf()->pubseekoff(off, dir, ios_base::out) with rdbuf()->pubseekoff(off, dir). -- Summary: Invocation of the interface basic_ostream::seekp(off_type& off, ios_base::seekdir dir) calls rdbuf()->pubseekoff(off, dir) with wrong third argument. Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vmartirosyan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39597
[Bug libstdc++/39596] New: Invocation of the interface basic_ostream::seekp(pos_type& pos) calls rdbuf()->pubseekpos() with wrong argument.
Detailed Description - Invocation of the interface basic_ostream::seekp(pos_type& pos); should call rdbuf()->pubseekpos(pos), but it calls rdbuf()->pubseekpos(pos, ios_base::out). Elimination: -- Replace the call rdbuf()->pubseekpos(pos, ios_base::out) with rdbuf()->pubseekpos(pos). -- Summary: Invocation of the interface basic_ostream::seekp(pos_type& pos) calls rdbuf()- >pubseekpos() with wrong argument. Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vmartirosyan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39596