https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80655
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |WAITING Last reconfirmed| |2017-05-06 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you attach the preprocessed source? What the warning is saying is longer_message.data() in one path to the snprintf will be null. Without the preprocessed source there is no way to figure that out.