http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47007
--- Comment #17 from JTappin <jtappin at gmail dot com> 2012-07-05 23:03:00 UTC --- Created attachment 27748 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27748 Testcase for List-directed read By default gtk_init calls setlocale, so if the locale is set to one that uses comma for decimal, the attached code fails to read the numbers after the decimal in the case with the point. However neither before or after is the cases with the comma handled as a decimal: james@amarice-4 Dev $ export LC_ALL=de_DE.UTF8 james@amarice-4 Dev $ ./a.out 100.34560 100.00000 100.00000 100.00000 james@amarice-4 Dev $ export LC_ALL= james@amarice-4 Dev $ ./a.out 100.34560 100.00000 100.34560 100.00000 james@amarice-4 Dev $ N.B. I do have a work-around for gtk-fortran by adding a call to gtk_disable_setlocale, which I will add to the gtk_init routine.