[Patch, Fortran, committed] Add LANG=C to libgfortran/mk-kinds-h.sh
Tobias Schlüter
tobias.schlueter@physik.uni-muenchen.de
Sat Oct 27 06:41:00 GMT 2007
Tobias Burnus wrote:
> Tobias SchlÃŒter wrote:
>> Tobias Burnus wrote:
>>> 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/_.*//'`
>> Since I couldn't find this expression, and since I can't think of an
>> occasion where one would both want to match TRANSFER and where it's a
>> good idea to translate it, I'm curious: could you say where or how
>> this happens?
>
> Did you do an "svn up"? The line was checked in this morning by FX.
> Thus you really should have this line or SVN has serious troubles.
Weird, I assume that my regexp was wrong :-(
> And "gfortran -fdump-parse-tree c.f90" shows than:
> [...]
> WRITE UNIT=6 FMT=-1
> TRANSFER 3.40282347e38
> DT_END
>
> which is, e.g., with a German locale translated to the barely readable
> SCHREIBEN EINHEIT=6 FMT=-1
> ÃBERTRAGUNG 3.40282347e38
> DT_END
> and thus the grep fails.
Wow! I think I'll submit DÃ-ENDE as translation of DT_END and it should
also be ÃBERTRAGE.
Thanks for the explanation.
Cheers,
- Tobi
More information about the Gcc-patches
mailing list