https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79997
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2017-08-14 CC| |msebor at gcc dot gnu.org Component|tree-optimization |translation Depends on| |77810 Ever confirmed|0 |1 --- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. There are a few instances of this idiom in the file and elsewhere in GCC. The pass makes use of the format_warning_at_substring() function to do the formatting and that function only comes in one form, and doesn't provide an "overload" similar to warning_n or warning_at_rich_loc_n to format plural forms of diagnostics (this enhancement request is being tracked in pr77810). Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77810 [Bug 77810] provide format_inform_at_substring to go with format_warning_at_substring