https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102259
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Michel Morin from comment #2) > Given that the testcase works file when compiled with Clang, libcxx would > have some workround for it. It just uses fread(3) instead of read(2).