https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78932
--- Comment #2 from xqr4n54r1 at hotmail dot com --- Created attachment 40457 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40457&action=edit memcpy instead of get_unaligned_be * I wrote memcpy instead of get_unaligned_be{16|32} and I saw that solved the problem. I think that the basic block reordering does not work correctly. Attachment has following : - filter_O2.{c|s} : Indicates that the problem has occurred. - filter_memcpy.{c|s} : Indicates solution that compile memcpy instead get_unaligned_be{16|32} I mentioned above.