https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122430
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Known to fail| |12.5.0, 13.4.0
Target Milestone|--- |13.5
Keywords| |lto
Summary|Call to empty interposable |[13/14/15/16 Regression]
|function is optimized away |Call to empty interposable
|with -flto -fPIC |function is optimized away
|-fsemantic-interposition |with -flto -fPIC
| |-fsemantic-interposition
Status|UNCONFIRMED |NEW
Last reconfirmed| |2025-10-26
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. Seems to be introduced between GCC 11 and GCC 12.