https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61632
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #33114|0 |1
is obsolete| |
--- Comment #20 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 33155
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33155&action=edit
Revised patch
This patch borrows on Dominique's idea of using strchr to find the end of the
format string.
Tested OK on x86_64 and the various cases presented in this PR.