https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109611
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2023-04-24 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. It might be the case the restrict warning only happens early.