https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90011
Bug ID: 90011 Summary: trailing space in diagnostic Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: translation Assignee: unassigned at gcc dot gnu.org Reporter: roland.illig at gmx dot de Target Milestone: --- Please teach the diagnostics linter to reject the following code from cp/typeck2.c: pedwarn (loc, OPT_Wnarrowing, "narrowing conversion of %qE from %qH to %qI ", There is no hint anywhere near this code that the trailing space might be intentional. Therefore it should be rejected before the commit. It should be allowed if there is a comment above the statement explaining why the trailing space is intentional.