[Bug c++/105994] Incorrect optimization with -ftree-sra and casting (strictly compatible) refs

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 16 00:23:06 GMT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually it is invalid because the temp goes out of scope rather than aliasing
issues.


More information about the Gcc-bugs mailing list