https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102268

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Indeed.

+Deleted redundant store p3_9(D)->v2.x = t2$x_25;
+Deleted redundant store p3_9(D)->v1.x = t1$x_2;

@@ -227,12 +157,8 @@

   <bb 3> :
   temp_10 = p3_9(D)->v1.x;
-  t2$x_25 = temp_10;
-  p3_9(D)->v2.x = t2$x_25;
   MEM[(struct s2 *)p2_13(D)].x = 1234;
   temp_15 = p3_9(D)->v2.x;
-  t1$x_2 = temp_15;
-  p3_9(D)->v1.x = t1$x_2;

   <bb 4> :
   _23 = MEM[(struct s1 *)p1_6(D)].x;

that leaves us with the store via S2 that is not found when looking up the
load via S1 but instead we find the originally loaded value.

*** This bug has been marked as a duplicate of bug 101641 ***

Reply via email to