https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103470
--- Comment #1 from Ilya Lipnitskiy ---
Created attachment 51900
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51900&action=edit
proposed fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103470
Bug ID: 103470
Summary: [10, 11, 12] GNU-stack section not emitted on MIPS
hard-float targets with MUSL
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103255
--- Comment #2 from Ilya Lipnitskiy ---
Thanks for coming up with a better test case!
Looks like tree-vrp is related for x64 as well[0]. -Os -fno-tree-vrp or -O2
-fno-tree-vrp appears to work-around the problem.
[0]: https://github.com/openwrt
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103255
Bug ID: 103255
Summary: [10 Regression] optimization breaks address of struct
member
Product: gcc
Version: 11.1.0
Status: UNCONFIRMED
Severity: normal