This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/72830] istream::seekg should not reset eofbit if -std=c++98


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]