https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98927
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Well, I guess it's a missed diagnostic at -O3. Basically we try to support thin wrappers where inlining would expose a constant. Guess we might want to diagnose in non-always-inline context.