Translations:GCC optimization/176/en
From Gentoo Wiki
PIE is enabled by default when it is safe to do so on in 17.0 profiles and newer[1]. PIC may also be enabled by default on executables for architectures that require it (like AMD64). There is no need to set PIE or PIC manually in CFLAGS.