https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71431
Dima Tisnek <dimaqq at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |NEW
Resolution|INVALID |---
--- Comment #3 from Dima Tisnek <dimaqq at gmail dot com> ---
@Jonathan, arguably, `std::ifstream f("/");` should not through, as underlying
`open()` succeeds. No read call is made at that point. That was the nature of
bug 36564 They site ""current standard" at the time.
(Personally I'd prefer ifstream creation to fail, but I can live with that).
Successive read operations really ought to set some error bit.