This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/77810] provide format_inform_at_substring to go with format_warning_at_substring


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]