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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |tree-optimization
           Keywords|                            |diagnostic

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
You are violating c/c++ aliasing rules so the code is undefined and gcc decides
the stores are not used because of the aliasing rules and deletes them and then
the load is uses uninitialized memory because of that.

Reply via email to