The strings returned from gfc_arith_error in gcc/fortran/arith.h contain the location marker %L. But as noticed in bug 36161, they are not marked gcc-internal-format. This marking is valuable to avoid mistakes in the translation.
-- Summary: Missing gcc-internal-format on messages from gfc_arith_error Product: gcc Version: 4.5.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=42693