https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116393
Stas Sergeev <stsp at users dot sourceforge.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|DUPLICATE |FIXED --- Comment #7 from Stas Sergeev <stsp at users dot sourceforge.net> --- Well but __pic__ and __PIC__ do not behave as documented. They are not undefined by adding -fpie, so your explanation does not suit (or there is some other bug).