https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121759

--- Comment #3 from ParkerLewis <francois.depicciotto at gmail dot com> ---
I confirm I get the error with the 15.2.0 build

D:\Work\toto>gcc --version
gcc (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r1) 15.2.0

 WRITE ASCII FILE
 writetxt :   123.456001       456.789001      ipb=           0

 READ ASCII FILE TO CHECK
 t=   123.456001       456.789001
 raw line=   123.456001       456.789001
 tline=   123.456001       456.789001

 (DO SOME BINARY FILE ACCESS)
 writebin : x=   234.567001      ipb=           0

 READ ASCII FILE AGAIN TO EXHIBIT ISSUE
 t=   123.000000       456.000000
 raw line=   123.456001       456.789001
 tline=   123.000000       456.000000

The same test with an older version of gcc (14.2.0) does not exhibit the issue.

Reply via email to