This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2005 13:18:45 -0000
- Subject: [Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning
- References: <20050509183230.21475.hanno@gentoo.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-08 13:18 -------
Confirmed.
The problem can be demonstrated with the following code snippet:
===================
int foo()
{
int i;
return i;
}
===================
Compiling the above with "-O -Wall" and LC_ALL=C yields the warning
bug.c: In function 'foo':
bug.c:4: warning: 'i' is used uninitialized in this function
With LC_ALL=de_DE I get an ICE.
The following lines in the de.po file look suspicious:
#: tree-ssa.c:1379
msgid "%H%qD is used uninitialized in this function"
msgstr "%J%qD wird in dieser Funktion uninitialisiert verwendet"
Looks like we want "%H%qD" instead of "%J%qD" in the translation.
This affects the 4.0 branch and mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic, ice-on-valid-
| |code
Last reconfirmed|0000-00-00 00:00:00 |2005-06-08 13:18:42
date| |
Summary|gcc fails with german |[4.0/4.1 regression] ICE
|locale, builts fine with |with german locale in "is
|LC_ALL="C" |used uninitialized" warning
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21475