This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/78932] [ARM] -O2 generates wrong code
- From: "xqr4n54r1 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 04 Jan 2017 15:27:23 +0000
- Subject: [Bug rtl-optimization/78932] [ARM] -O2 generates wrong code
- Auto-submitted: auto-generated
- References: <bug-78932-4@http.gcc.gnu.org/bugzilla/>
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.