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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
          Component|middle-end                  |ipa
             Status|UNCONFIRMED                 |NEW
           Keywords|needs-reduction             |
            Summary|[15 regression] ok code     |[15 regression] wrong code
                   |with -O2, but wrong code    |with optimizations since
                   |with -O3 since r15-6294     |r15-6294
   Last reconfirmed|                            |2025-02-05

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

(In reply to Andrew Pinski from comment #11)
> Created attachment 60387 [details]
> Reduced
> 
> Note this one now fails at `-O2` too rather than just at `-O3`.

One note, the reason why it was failing at -O3 rather than -O2 in the original
case is due to a loop which I think was unrolled at -O3 but not at -O2. I
removed the loop and the failure started to happen at -O2 too.

Reply via email to