This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81808] 27_io /basic_fstream/53984.cc failure on AIX
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Aug 2017 19:28:29 +0000
- Subject: [Bug libstdc++/81808] 27_io /basic_fstream/53984.cc failure on AIX
- Auto-submitted: auto-generated
- References: <bug-81808-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81808
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
On AIX reading the directory just reads the actual contents of the directory,
i.e. the files contained in the directory. Maybe we should restrict the test to
only run on targets where that read used to fail with an exception.
Alternatively, we could read a char instead of an int, and if the read succeeds
don't test for in.bad(). I'd rather just restrict the targets where it runs
though.