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++/81808] 27_io /basic_fstream/53984.cc failure on AIX


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.

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