------- 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&#22788;&#23558; %1$s &#36716;&#25442;&#21040; %2$s
&#26102;&#31639;&#26415;&#28322;&#20986;&#12290;&#36825;&#19968;&#26816;&#26597;&#21487;&#29992;
-fno-range-check &#36873;&#39033;&#20851;&#38381;"


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

Reply via email to