https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81772

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-08-09
     Ever confirmed|0                           |1

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
Thanks for the strncat suggestion.  That seems quite doable.  I'll try to find
some time to look into it.

I explored some of the other ideas when I implemented the GCC 7 sprintf
optimization (-fprintf-return-value) and warnings (-Wformat-overflow and
-Wformat-truncation) but they didn't seem applicable in enough situations (when
all or at least some of the arguments were constant) to justify either the
additional complexity or the space overhead.

Reply via email to