https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99987
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|needs-bisection |
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Note GCC 12+ can't remove the call to foo even at -O2. I have not looked
> into why though.
It's due to r12-4240-g2b8453c401b699.
