[Bug target/119188] Incorrect -fcallgraph-info=su for leaf functions on x86-64

2025-03-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119188 --- Comment #3 from Andrew Pinski --- So reading https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Developer-Options.html#index-fstack-usage "The qualifier static means that the function manipulates the stack statically: a fixed number of bytes are

[Bug target/119188] Incorrect -fcallgraph-info=su for leaf functions on x86-64

2025-03-10 Thread lukeshu at lukeshu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119188 --- Comment #2 from Luke Shumaker --- I appreciate the explanation. Does that make it any less of a bug? Should I change the title to "x86 red-zone not taken into account by -fcallgraph-info=su"?