https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101257
--- Comment #5 from Gregory Tucker <greg.b.tucker at intel dot com> --- (In reply to Andrew Pinski from comment #4) > (In reply to Gregory Tucker from comment #2) > > Created attachment 51165 [details] > > I think: > uint32_t *w = (uint32_t *) data; > > Should need the may_alias attribute added to it. Thanks for looking at the test case. Indeed adding may_alias to w will fix.