https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434
--- Comment #3 from kargls at comcast dot net --- On 11/3/24 18:41, jvdelisle at gcc dot gnu.org wrote: > I just finished doing the same thing. > > $ gfc test1.f90 > /usr/bin/ld: warning: /tmp/cc7FO4Ip.o: requires executable stack (because the > .note.GNU-stack section is executable) > > I have never seen this ld warning before. > If I had to guess, the tree-ssa symbol needs to have a TREE_STATIC attribute set in one of the trans-*.cc files.