https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83052
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Even though PR 89289 is newer, it has more information on what is going wrong with -mforce-indirect-call . Also what is not mentioned here is dynamic model is needed to hit the issue (which is what -fPIC does too). *** This bug has been marked as a duplicate of bug 89289 ***