https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99340
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Last reconfirmed| |2021-03-02 Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- I see the warning (with -fPIE) for all releases I have (4.8.0+). But yes, -fPIC does not report the warning.