https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116393
--- Comment #5 from Stas Sergeev <stsp at users dot sourceforge.net> --- The documentation says: When this flag is set, the macros __pic__ and __PIC__ are defined to 1. I checked and I get these defines with no -fpic and with "-fpic -fpie" which supposedly discards -fpic. The only way to get these undefined, is -fno-pic. So these macros do not match the reality.