https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103325
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |12.3
Status|NEW |RESOLVED
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 12.3.0 by r12-9091-g9dccaeaa586a16 (aka PR 108306 ). So closing
as fixed.
Note DOM and VRP both do it so it is done at -O1 and -O2.
