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

            Bug ID: 129162
           Summary: `(x == c1 && y == c1) || (x == c2 && y == c2)` -> (x
                    == c1 || x == c2) && (x == y)
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: easyhack, missed-optimization
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

Created attachment 66344
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=66344&action=edit
testcase

f_src can be optimized to f_tgt.

This shows up a few times from the LLVM bug report.

Reply via email to