This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug translation/36103] gfortran crash with zh_CN locale
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 May 2008 13:40:05 -0000
- Subject: [Bug translation/36103] gfortran crash with zh_CN locale
- References: <bug-36103-15353@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from burnus at gcc dot gnu dot org 2008-05-02 13:40 -------
I can finally reproduce this - but for some reason not with 4.4 but with 4.3.
(I somehow misread the description how one should reproduce it.)
The problem is surely in http://gcc.gnu.org/viewcvs/trunk/gcc/po/zh_TW.po
respectively in http://translationproject.org/latest/gcc/zh_CN.po
I believe the problem is that something goes wrong with the % strings.
For instance in the following, for %s %s %L the output order is changed to
%3$L %1$s %2$s. The following is correct, but for one of the other strings
there is something wrong - the <n>$ might be missing or the number is wrong or
similar. The task is now to find the place. Afterwards, the Chinese translation
team needs to fix it (http://translationproject.org/team/zh_CN.html) - it
should be transferred to the Component "Translation" in bugzilla.
msgid "Arithmetic overflow converting %s to %s at %L. This check can be
disabled with the option -fno-range-check"
msgstr "%3$L处将 %1$s 转换到 %2$s
时算术溢出。这一检查可用
-fno-range-check 选项关闭"
Is someone able to get a backtrace? One can then try to find the string which
makes the problem. (I currently cannot as my GCC-developer computer is turned
off.)
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|fortran |translation
Ever Confirmed|0 |1
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|i686-pc-linux-gnu |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-05-02 13:40:05
date| |
Summary|gfortran 4.4.0-20060501 |gfortran crash with zh_CN
|failed to compile this |locale
|program |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36103