http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47007
Summary: Values from namelist file should not depend on locale settings Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: fenix...@mail.ru Namelist files can be generated on any platform with any locale settings. And namelist files must be usable among this platforms. But today some data in namelist files depends on locale settings, for example floating point format. So when you try to open namelist file, generated on en_US locale in the environment with ru_RU locale, for example, you get into trouble with reading floating points values. Namelist entry DT=7.3000002E-011 is read as 7.3E-11 on en_US and as 7 in ru_RU. Namelist should not depend on locale settings, so we can open namelist file generated with any locale settings on any other locale settings, without changing file and locale.