https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63352
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2014-09-24 CC| |ro at CeBiTec dot Uni-Bielefeld.DE Ever confirmed|0 |1 --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- From > (gdb) print buffer > $1 = ':.', '3' <repeats 16 times>, '2:', ' ' <repeats 30 times> Then I guess that the buffer content is :.33333333333333332: and not :.33333333333333331: as expected by the test. Could you print the content of buffer after write(buffer, string) ':',1.0_8/3.0_8,':' and write(buffer, '(1x,a,g0,a)') ':',1.0_8/3.0_8,':' to check this guess? This look like a rounding problem on your platform (CCed Rainer Orth). What is the result if you compile the test with --save-temps (see PR323)?