[Bug libstdc++/88034] std::ws doesn't set failbit when the stream is already at EOF

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 19 13:22:38 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88034

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks for the update here.

I think I fixed this with r12-1843-ge5c422b7d8af6f which implemented
https://cplusplus.github.io/LWG/issue415

(The old behaviour was correct for C++03, but it changed for C++11)


More information about the Gcc-bugs mailing list