[Bug c++/103733] Defaulted operator== for arrays of integral types could be done using memcmp instead of loop
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103733 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED --- Comment #5 from Andrew Pinski --- Dup of bug 108953. Even though PR 108953 is newer, it contains more details on how to fix this and contains a few different/better testcases and such. *** This bug has been marked as a duplicate of bug 108953 ***
[Bug c++/103733] Defaulted operator== for arrays of integral types could be done using memcmp instead of loop
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103733 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |c++ Keywords||missed-optimization Severity|normal |enhancement Summary|Missed optimization:|Defaulted operator== for |defaulted op== for |arrays of integral types |trivially comparable types |could be done using memcmp |worse than memcmp |instead of loop