https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65161
--- Comment #3 from Yuri Rumyantsev <ysrumyan at gmail dot com> --- Created attachment 34856 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34856&action=edit possible patch Add check on selective scheduling to not perform instruction reordering.