https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111437
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-09-16 Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you attach the preprocessed source where the warning is and the exact command line you are using to invoke gcc? I suspect the issue is that the function can be overridden due to use of -fPIC or something smilar to that.