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]

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


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

only works if TRANSFER is not translated in the dump.

If TRANSFER is translated, it's a bug a) in the gfortran POT file, probably by an overzealous, and b) in the front-end, which shouldn't mark this string for localization. Can you look into it?

I should have added, though, that I'm fine with the patch to mk-kinds- h.sh (except the portability question). For my defence, I had checked that MPFR output strings with a point as decimal marker, and not a comma, whatever the locale is.


FX


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