https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111750
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #4) > (In reply to Andrew Pinski from comment #3) > > (In reply to Brian Bi from comment #2) > > > I believe I'm seeing the same bug on GCC trunk on Godbolt. Here's a > > > minimized version of the code I'm working with: > > > > Note there is a missed optimization in this testcase (will submit a bug in a > > few minutes). > > PR 119113. Note the original tetcase here cannot have this optimization since g is used indirectly via inlining.