https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110376
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The underlying issue is the same as PR 110228 . Changing b to _Bool (and o to _Bool*) and phiopt doing: phiopt match-simplify trying: b_lsm_flag.31_11 != 0 ? b_lsm.30_12 : 1 Matching expression match.pd:1990, gimple-match-5.cc:23 Matching expression match.pd:1990, gimple-match-5.cc:23 Matching expression match.pd:1990, gimple-match-5.cc:23 Matching expression match.pd:1947, gimple-match-7.cc:20 Matching expression match.pd:2479, gimple-match-4.cc:35 Matching expression match.pd:2482, gimple-match-3.cc:66 Matching expression match.pd:2489, gimple-match-2.cc:58 Applying pattern match.pd:6456, gimple-match-6.cc:12915 Applying pattern match.pd:1378, gimple-match-3.cc:7714 Matching expression match.pd:1947, gimple-match-7.cc:20 Matching expression match.pd:1957, gimple-match-6.cc:46 Matching expression match.pd:1947, gimple-match-7.cc:20 Applying pattern match.pd:4745, gimple-match-2.cc:16250 Folded into the sequence: _3 = ~b_lsm_flag.31_11; _56 = _3 | b_lsm.30_12; Removing basic block 9 ;; basic block 9, loop depth 1 ;; pred: 8 ;; succ: 10 *** This bug has been marked as a duplicate of bug 110228 ***