https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79968
Bug ID: 79968 Summary: diagnostics: merge similar diagnostics containing -fdec-structure Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- The file fortran/decl.c contains several of these diagnostics: gfc_error ("STRUCTURE at %C is a DEC extension, enable with " "-fdec-structure"); If these were written as follows, it would reduce work for the i18n translators, as well as eliminate any chance of introducing typos. gfc_error ("%s at %C is a DEC extension, enable with " "%<-fdec-structure%>", "STRUCTURE"); This should basically be a textual search-and-replace for all occurrences of "is a DEC extension".