https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77445
--- Comment #1 from Yuri Rumyantsev <ysrumyan at gmail dot com> --- Created attachment 39535 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39535&action=edit test-case to reproduce It is sufficient to compile it with -Ofast option.