http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47007
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-18 20:51:58 UTC --- (In reply to comment #0) > But today some data in namelist files depends on locale settings, for example > floating point format. I cannot reproduce this. Using openSUSE Factory with GCC 4.1, 4.3 and with GCC 4.6 I always get a decimal point and never a comma. Additionally, the number seems to be always correctly read - independent whether I use en_US.UTF-8, ru_RU.UTF-8 or de_DE.UTF-8. Given that the number of users with non-US locales is quite large, I do not think that this is a common problem. In order to use a decimal comma (and ";" as separator), one can use DECIMAL="comma" in the OPEN statement. (Won't work with internal list-directed or namelist I/O, which should thus always use to a ".".) As you seemingly have problems when using the ru_RU locale: Can you provide more information about your system (operating system, glibc version [when using GLIBC-based system], gfortran version ("gfortran -v" target triplet and version number) - and can you create a minimal example which reproduces the problem?