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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to David Edelsohn from comment #3)
> After in >> x, x appears to contain the value 0x02ff22770.

That's just an indeterminate value because it was never initialized, and
doesn't get written to by the failed read.

It seems that on AIX trying to read from the stream sets in.fail() instead.

Reply via email to