The first argument of gfc_error seems to be a format string of the form tagged
with gcc-internal-format elsewhere in the po file.  But it seems gfc_error
formats are instead tagged with no-c-format.  This is somewhat dangerous, since
msgfmt will not discover mistakes in the translation, mistakes that potentially
could cause a crash.

(Yes, it happened.  I had done a few such mistakes in sv.po, which was just
pointed out to me in a friendly letter.)


-- 
           Summary: gfc_error formats are not marked gcc-internal-format in
                    po file
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: goeran at uddeborg dot se


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

Reply via email to