https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103835
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-12-26 Keywords| |diagnostic, | |missed-optimization Ever confirmed|0 |1 Component|c |tree-optimization Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like atoi is not know and GCC thinks atoi will write into buf. But that does not fix the restrict warning which does not use string length analysis to figure out it does not overlap. Confirmed.