> I'm not a language lawyer; is this a legal program?  (If the program  
> is legal, should I file a PR?)

Mike Stump already filed a PR about this, PR 28778 and I gave a full testcase
which shows that this is legal code and the compiler should not be removing
the store.  

Oh and I marked it as a regression after testing it on 3.4.0.

-- Pinski

Reply via email to