https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86435
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |amonakov at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Without -fpic, f1 is considered not interposable. With -fpic, gcc needs -fsemantic-interposition to optimize f2 to 'return 0;'.