https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78200
--- Comment #4 from Venkataramanan <venkataramanan.kumar at amd dot com> --- Created attachment 39976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39976&action=edit Test case for noncanonical gimple formation at tree if conversion. The test case is simulated from primal_bea_mpp of 429.mcf. gcc version 7.0.0 20161106 ---- snip from test.c.155t.ifcvt---- ;; basic block 30, loop depth 1, count 0, freq 407, maybe hot ;; prev block 29, next block 31, flags: (NEW, REACHABLE, VISITED) ;; pred: 28 [64.0%] (FALSE_VALUE,EXECUTABLE) _96 = _67 == 2; _29 = if_conversion_var_66 > 0; _12 = _96 & _29; <== Non canonical gimple if (_12 != 0) goto <bb 31>; else goto <bb 32>; -----snip ends-----