[Bug tree-optimization/103733] Missed optimization: defaulted op== for trivially comparable types worse than memcmp

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 15 12:37:33 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103733

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You are using memcpy instead of memcmp in your testcase, which does something
very different...


More information about the Gcc-bugs mailing list