public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/11166] New: Incorrect dependencies file under es_ES
@ 2003-06-12  1:20 fherrera@onirica.com
  2003-07-01 13:33 ` [Bug preprocessor/11166] " pinskia at physics dot uc dot edu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fherrera@onirica.com @ 2003-06-12  1:20 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Incorrect dependencies file under es_ES
           Product: gcc
           Version: 3.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fherrera@onirica.com
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: i386
  GCC host triplet: i386
GCC target triplet: i386

When running cpp0 from orbit-idl-2 to generate dep file, under es_ES locale an
incorrect dep file is generated. Under LC_ALL="" or C, there is no problem.
Here is an example:
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cpp0 -lang-c -I- -D__GNUC__=3
-D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -D__ELF__
-Dunix -D__gnu_linux__ -Dlinux -D__ELF__ -D__unix__ -D__gnu_linux__
-D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__
-D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__
-D__tune_i386__ -D__ORBIT_IDL__ poatest.idl

under es_ES generates:
poatest-stubs.c poatest-skels.c poatest-common.c poatest.h poatest-skelimpl.c
poatest-imodule.c :  \        poatest.idl \
        <interno> \
        <línea de orden> \
        poatest.idl

where <interno> and <linea de orden> is wrong.
Under C locale:
poatest-stubs.c poatest-skels.c poatest-common.c poatest.h poatest-skelimpl.c
poatest-imodule.c :  \        poatest.idl

which is the expected result.

Looking at the code cppint.c shows:
   _cpp_do_file_change (pfile, LC_RENAME, _("<built-in>"), 1, 0);
      init_builtins (pfile);
      _cpp_do_file_change (pfile, LC_RENAME, _("<command line>"), 1, 0);

I'm not sure why these strings are marked for translation, but I think here is
the problem.


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

* [Bug preprocessor/11166] Incorrect dependencies file under es_ES
  2003-06-12  1:20 [Bug preprocessor/11166] New: Incorrect dependencies file under es_ES fherrera@onirica.com
@ 2003-07-01 13:33 ` pinskia at physics dot uc dot edu
  2003-07-01 13:44 ` fherrera at onirica dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-01 13:33 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-01 13:33 -------
cpp0 does not exists in 3.3, can you try 3.3?
Also I cannot reproduce it with a stock 3.2.3 or 3.2.2 or 3.3.1 (20030616) or the mainline 
(20030630).


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

* [Bug preprocessor/11166] Incorrect dependencies file under es_ES
  2003-06-12  1:20 [Bug preprocessor/11166] New: Incorrect dependencies file under es_ES fherrera@onirica.com
  2003-07-01 13:33 ` [Bug preprocessor/11166] " pinskia at physics dot uc dot edu
@ 2003-07-01 13:44 ` fherrera at onirica dot com
  2003-07-01 14:07 ` pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: fherrera at onirica dot com @ 2003-07-01 13:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From fherrera at onirica dot com  2003-07-01 13:44 -------
Well, I can reproduce it anytime with 3.2.2 from redhat 9.0, and lot of people
building GNOME under an spanish locales was seeing also this (libIDL/ORBit is
using cpp to create dependencies). I downloaded the source code and saw the
lines I copied above where I think the problem is, but I didn't recompile gcc.
I'll try 3.3.X ASAP.


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

* [Bug preprocessor/11166] Incorrect dependencies file under es_ES
  2003-06-12  1:20 [Bug preprocessor/11166] New: Incorrect dependencies file under es_ES fherrera@onirica.com
  2003-07-01 13:33 ` [Bug preprocessor/11166] " pinskia at physics dot uc dot edu
  2003-07-01 13:44 ` fherrera at onirica dot com
@ 2003-07-01 14:07 ` pinskia at physics dot uc dot edu
  2003-07-29 20:31 ` pinskia at physics dot uc dot edu
  2003-08-09  9:25 ` neil at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-01 14:07 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-01 14:07 -------
I cannot not even reproduce it on 3.2.1 from redhat (Yes this time I made sure LC_ALL is actually 
set right, last time I could not get it setting right, I had unset LANG and SUPPORTED.)


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

* [Bug preprocessor/11166] Incorrect dependencies file under es_ES
  2003-06-12  1:20 [Bug preprocessor/11166] New: Incorrect dependencies file under es_ES fherrera@onirica.com
                   ` (2 preceding siblings ...)
  2003-07-01 14:07 ` pinskia at physics dot uc dot edu
@ 2003-07-29 20:31 ` pinskia at physics dot uc dot edu
  2003-08-09  9:25 ` neil at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 20:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug preprocessor/11166] Incorrect dependencies file under es_ES
  2003-06-12  1:20 [Bug preprocessor/11166] New: Incorrect dependencies file under es_ES fherrera@onirica.com
                   ` (3 preceding siblings ...)
  2003-07-29 20:31 ` pinskia at physics dot uc dot edu
@ 2003-08-09  9:25 ` neil at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: neil at gcc dot gnu dot org @ 2003-08-09  9:25 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


neil at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


------- Additional Comments From neil at gcc dot gnu dot org  2003-08-09 09:25 -------
Your purported command line doesn't even include a switch to generate dependency
output.

I can't reproduce this on FSF GCC with ja_JP locale which does have those
strings translated, so I'm closing it.


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

end of thread, other threads:[~2003-08-09  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-12  1:20 [Bug preprocessor/11166] New: Incorrect dependencies file under es_ES fherrera@onirica.com
2003-07-01 13:33 ` [Bug preprocessor/11166] " pinskia at physics dot uc dot edu
2003-07-01 13:44 ` fherrera at onirica dot com
2003-07-01 14:07 ` pinskia at physics dot uc dot edu
2003-07-29 20:31 ` pinskia at physics dot uc dot edu
2003-08-09  9:25 ` neil 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).