This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/78932] [ARM] -O2 generates wrong code


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]