[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 --- Comment #6 from Jakub Jelinek --- Note, generally -fomit-frame-pointer doesn't guarantee that the frame pointer is omitted: "Omit the frame pointer in functions that don't need one." Functions using VLAs/alloca or requiring dynamic stack rea

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-02 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 --- Comment #5 from Siddhesh Poyarekar --- Appeared since r15-3078-g6ea25c041964bf which was also backported to the gcc14 branch.

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-02 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 --- Comment #3 from Siddhesh Poyarekar --- I'm not so sure, the stack is correctly aligned here, just that it happens a little too late and results in holding on to the frame pointer.

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-01 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 Siddhesh Poyarekar changed: What|Removed |Added Target|X86_64 |x86-64 --- Comment #1 from Siddhes

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill