https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103255
--- Comment #2 from Ilya Lipnitskiy <lipnitsk at gmail dot com> --- 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/openwrt/pull/4732#issuecomment-969194808