This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/77810] provide format_inform_at_substring to go with format_warning_at_substring
- From: "dmalcolm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 21 Nov 2016 16:09:59 +0000
- Subject: [Bug preprocessor/77810] provide format_inform_at_substring to go with format_warning_at_substring
- Auto-submitted: auto-generated
- References: <bug-77810-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77810
David Malcolm <dmalcolm at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dmalcolm at gcc dot gnu.org
--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
> Created attachment 39727 [details]
> Prototype patch.
>
> I tested the attached proof-of-concept patch by integrating it into the
> gimple-ssa-sprintf pass.
(sorry, I believe this is the first time I've seen the bug/patch)
Do you still have a need for this functionality?
FWIW, the leading comment describing format_warning_va/format_diag_va needs
rewording; likewise the comment about
/* Functions for emitting a warning about a format string. */
Otherwise, the patch looks reasonable (though am not sure if I have approval
rights on this one).
Did this ever get posted to gcc-patches?