Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: gcc/gcc/testsuite/lib/gfortran.exp

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/lib/dg-pch.exp ('k') | gcc/gcc/testsuite/lib/gfortran-dg.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/lib/gfortran.exp
diff --git a/gcc/gcc/testsuite/lib/gfortran.exp b/gcc/gcc/testsuite/lib/gfortran.exp
index a4d6e2b5d38aa52daa801ac22da07128e79a69ee..56aef298776d50aed631b2195cebb7d67d9a0ba4 100644
--- a/gcc/gcc/testsuite/lib/gfortran.exp
+++ b/gcc/gcc/testsuite/lib/gfortran.exp
@@ -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
« no previous file with comments | « gcc/gcc/testsuite/lib/dg-pch.exp ('k') | gcc/gcc/testsuite/lib/gfortran-dg.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698