re PR fortran/34729 (Localization of run-time error messages, written into the execut...
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 25 Feb 2008 08:36:15 +0000 (08:36 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Mon, 25 Feb 2008 08:36:15 +0000 (08:36 +0000)
commitee37d2f54c14956c32feca7bef17a4b7b8802717
tree762dc6796ed285b4d67938d43837434f3b44d4b8
parent4cfaec1cefa9e393cceb88fa818c7c2530e75289
re PR fortran/34729 (Localization of run-time error messages, written into the executable)

PR fortran/34729
* trans-const.c (gfc_build_string_const): Don't call gettext.
(gfc_build_localized_string_const): New function.
* trans-const.h (gfc_build_localized_string_const): New prototype.
* trans.c (gfc_trans_runtime_check): Use
gfc_build_localized_string_const instead of gfc_build_string_const.
(gfc_call_malloc): Likewise.
(gfc_allocate_with_status): Likewise.
(gfc_allocate_array_with_status): Likewise.
(gfc_deallocate_with_status): Likewise.
(gfc_call_realloc): Likewise.
* trans-io.c (gfc_trans_io_runtime_check): Likewise.

From-SVN: r132612
gcc/fortran/ChangeLog
gcc/fortran/trans-const.c
gcc/fortran/trans-const.h
gcc/fortran/trans-io.c
gcc/fortran/trans.c