public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug translation/21475] gcc fails with german locale, builts fine with LC_ALL="C"
       [not found] <20050509183230.21475.hanno@gentoo.org>
@ 2005-05-09 21:40 ` pinskia at gcc dot gnu dot org
  2005-06-08 13:18 ` [Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-09 21:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-09 21:39 -------
Could you also send an email to de@li.org since this is a bug in the translation?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |translation


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21475


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning
       [not found] <20050509183230.21475.hanno@gentoo.org>
  2005-05-09 21:40 ` [Bug translation/21475] gcc fails with german locale, builts fine with LC_ALL="C" pinskia at gcc dot gnu dot org
@ 2005-06-08 13:18 ` reichelt at gcc dot gnu dot org
  2005-06-08 13:22 ` pinskia at gcc dot gnu dot org
  2005-06-08 13:22 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-08 13:18 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning
       [not found] <20050509183230.21475.hanno@gentoo.org>
  2005-05-09 21:40 ` [Bug translation/21475] gcc fails with german locale, builts fine with LC_ALL="C" pinskia at gcc dot gnu dot org
  2005-06-08 13:18 ` [Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning reichelt at gcc dot gnu dot org
@ 2005-06-08 13:22 ` pinskia at gcc dot gnu dot org
  2005-06-08 13:22 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-08 13:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-08 13:22 -------


*** This bug has been marked as a duplicate of 21364 ***

*** This bug has been marked as a duplicate of 21364 ***

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21475


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning
       [not found] <20050509183230.21475.hanno@gentoo.org>
                   ` (2 preceding siblings ...)
  2005-06-08 13:22 ` pinskia at gcc dot gnu dot org
@ 2005-06-08 13:22 ` reichelt at gcc dot gnu dot org
  3 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-06-08 13:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-06-08 13:22 -------
It's a dupe.


*** This bug has been marked as a duplicate of 21364 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21475


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-08 13:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050509183230.21475.hanno@gentoo.org>
2005-05-09 21:40 ` [Bug translation/21475] gcc fails with german locale, builts fine with LC_ALL="C" pinskia at gcc dot gnu dot org
2005-06-08 13:18 ` [Bug translation/21475] [4.0/4.1 regression] ICE with german locale in "is used uninitialized" warning reichelt at gcc dot gnu dot org
2005-06-08 13:22 ` pinskia at gcc dot gnu dot org
2005-06-08 13:22 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).