This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, Fortran, committed] Add LANG=C to libgfortran/mk-kinds-h.sh


:ADDPATCH fortran:

After getting failures when building GCC with a non-English locale, I
found out that

    huge=`$compile -c -fdump-parse-tree tmq$$.f90 | grep TRANSFER \
                | sed 's/ *TRANSFER *// ; s/_.*//'`

only works if TRANSFER is not translated in the dump.

I committed attached patch as obvious. (As the change to mk-kinds-h.sh
is brand new, only today's GCC trunk was affected.)

Tobias

Rev. 129658.

Index: libgfortran/ChangeLog
===================================================================
--- libgfortran/ChangeLog       (Revision 129657)
+++ libgfortran/ChangeLog       (Arbeitskopie)
@@ -1,3 +1,7 @@
+2007-10-26  Tobias Burnus  <burnus@net-b.de>
+
+       * mk-kinds-h.sh: Add "LANG=C".
+
 2007-10-26  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        * libgfortran.h (GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS,
Index: libgfortran/mk-kinds-h.sh
===================================================================
--- libgfortran/mk-kinds-h.sh   (Revision 129657)
+++ libgfortran/mk-kinds-h.sh   (Arbeitskopie)
@@ -1,4 +1,6 @@
 #!/bin/sh
+LANG=C
+export LANG

 compile="$1"



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]