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

            Bug ID: 129127
           Summary: ~(A | b) | (A | c) -> A | (~b | c)
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Keywords: easyhack, missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

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

Found while looking into PR 129117.  I don't know if this is enough to
workaround the compile time issue there but it still would be a good thing to
do.

LLVM is able to handle this.

Reply via email to