https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812
--- Comment #1 from anlauf at gcc dot gnu.org --- Works as expected on Linux. What happens if you replace C_NEW_LINE by something different, like c_carriage_return, or c_null_char, and pipe the output through "cat -v"?