https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89804
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2019-03-24 Component|other |tree-optimization Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is the testcase (and removed use of the headers): typedef unsigned long long uint64_t; uint64_t uint5korr(const unsigned char *p) { uint64_t result = 0; __builtin_memcpy(&result, p, 5); return result; } ---- CUT ---