https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62033
--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
I don't see a bug here as there is one case where addSize can return 0 and with
jump threading and basic block copying, we get a zero size passed to memset.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62033
--- Comment #2 from Alan Modra amodra at gmail dot com ---
I can see where you're coming from Andrew, but what is disconcerting about this
is that the _FORTIFY_SOURCE warning is plainly incorrect here. How is one
supposed to write a string.h
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62033
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED