https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68894
--- Comment #1 from Yuri Rumyantsev <ysrumyan at gmail dot com> --- Created attachment 37026 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37026&action=edit test-case to reproduce It is sufficient to compile it with -O3 option to see the difference in produced assembly.