https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103863
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Component|c |driver --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I think the warning needs to be implemented in the linker rather than in GCC because the linker is what decides if there are executable stacks are needed or not.