http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47007
--- Comment #8 from Alexander Varnin <fenixk19 at mail dot ru> 2010-12-19 14:13:24 UTC --- Created attachment 22821 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22821 Write namelist test case Here is also test case for writing namelist. It shows, that '.' is used whatever locale is selected. It is fun - i can generate namelist file on ru_RU with '.' as decimal, and then program will fail to read it on the same locale, because it expects ','. Moreover, ',' can't be used as decimal, because it is used to separate values in namelist.