This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/72830] istream::seekg should not reset eofbit if -std=c++98
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Aug 2016 19:50:54 +0000
- Subject: [Bug libstdc++/72830] istream::seekg should not reset eofbit if -std=c++98
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-72830-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72830
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Alex Henrie from comment #0)
> I realize that I could petition the GERMLINE authors to change the loop
> condition (and I eventually will), but the fact that you can't get the old
> behavior even with -std=c++98 is a bug in GCC.
No, it's not a bug. The old behaviour was considered a defect in the language,
and so the fix is applied unconditionally.