https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105727
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This has to have been reduced too much. Gcc is doing exactly what it was asked to do. __builtin_constant_p works across inlining and lto.