https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117598
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |WORKSFORME --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Ivan Zrno from comment #3) > (In reply to Ivan Zrno from comment #2) > > Created attachment 59601 [details] > > example project cmake and main.cpp > > I have attached a simple CMakeLists.txt and main.cpp file. When executing a > clean CMake build (compile and link) then no .su file is generated. looks like this is a cmake issue where -fstack-usage is not done on the link. I showed you directly how it works with gcc commands, it is not for us to figure out how cmake (badly) works.