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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
      Known to fail|                            |11.3.0
      Known to work|                            |12.3.0
                 CC|                            |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2023-07-14
          Component|c                           |ipa
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Likely a duplicate of one of the IPA bugs where we assume some code is DCEd but
isn't.  Later compilers manually forced DCEing there.

For this testcase -fno-ipa-sra fixes it.

Fixed in GCC 12.

Reply via email to