https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120002
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Without -fpic/-fPIC, the code gcc outputs will never be always position independent. So using a constant pool for the address is correct.