https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118647
--- Comment #2 from Alfredo Correa <alfredo.correa at gmail dot com> --- (In reply to Andrew Pinski from comment #1) > The tree level misdetection is recorded as PR 99504. ok, I am not an expert, but I have the impression that what I reported is library problem, not a compiler problem. The compiler might or might not see further optimizations, after the library failed to dispatch to memcpy. (that is the reason in the linked code, some of the functions are left undefined).