From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3872 invoked by alias); 10 Jan 2008 14:47:20 -0000 Received: (qmail 3664 invoked by uid 48); 10 Jan 2008 14:46:38 -0000 Date: Thu, 10 Jan 2008 15:09:00 -0000 Subject: [Bug fortran/34729] New: Localization of run-time error messages, written into the executable X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg00925.txt.bz2 I saw that gfortran writes (at least sometimes) a localized run-time error message: _gfortran_runtime_error (&"Attempt to allocate a negative amount of memory."[1]{lb: 1 sz: 1}); _gfortran_os_error (&"Memory allocation failed"[1]{lb: 1 sz: 1}); becomes then (LANG=de_DE.UTF-8): _gfortran_runtime_error (&"Versuch, einen negativen Betrag von Speicher zu r"[1]{lb: 1 sz: 1}); _gfortran_os_error (&"Speicherreservierung gesc"[1]{lb: 1 sz: 1}); The first string should be: "Versuch, einen negativen Betrag von Speicher zu reservieren." and the second "Speicherreservierung gescheitert" one sees that the strings are truncated. Expected: Either the localized message should not be truncated - or the English version of the string should be used throughout. -- Summary: Localization of run-time error messages, written into the executable Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34729