OSDN Git Service

libgomp/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / gfortran.exp
index a4d6e2b..56aef29 100644 (file)
@@ -136,6 +136,13 @@ proc gfortran_init { args } {
     setenv LC_ALL C
     setenv LANG C
 
+    # Many hosts now default to a non-ASCII C locale, however, so
+    # they can set a charset encoding here if they need.
+    if { [ishost "*-*-cygwin*"] } {
+      setenv LC_ALL C.ASCII
+      setenv LANG C.ASCII
+    }
+
     if ![info exists GFORTRAN_UNDER_TEST] then {
        if [info exists TOOL_EXECUTABLE] {
            set GFORTRAN_UNDER_TEST $TOOL_EXECUTABLE