[Bug middle-end/95493] [10/11 Regression] test for vector members apparently reordered with assignment to vector members since r10-7523-gb90061c6ec090c6b

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 3 08:20:11 GMT 2020


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.


More information about the Gcc-bugs mailing list