[Bug rtl-optimization/78932] [ARM] -O2 generates wrong code
xqr4n54r1 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 4 15:27:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list