https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67669
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- I don't have access to a Windows machine and I can't confirm this on Linux, but I doubt the problem is due to GCC and suspect it's more likely due to some bug/oddity in Windows and its newline handling (I did notice the "b" in the call to fopen which should avoid these problems but still).