https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120288
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #2) > Looks like a missed optimization of non-nullness. But then again this is at -O1 so there will be less optmizations. It looks like there is less inlining for GCC 15 compared to GCC 14 which is causing the issue I think ...