https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95493
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.2 Component|tree-optimization |middle-end Keywords| |alias Target| |x86_64-linux-gnu --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- VIEW_CONVERT_EXPR<int[4]>(MEM[(struct SW &)&xx].d)[i.1_2] = -1; _4 = MEM[(struct SW &)&xx].d; y = _4; There is some aliasing issues with the store and the next load. THe tree level is correct, it goes wrong on the RTL level. (In reply to Martin Liška from comment #1) > Confirmed, started with r10-7523-gb90061c6ec090c6b. No just exposed.