https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65917
Jeffrey A. Law <law at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #3 from Jeffrey A. Law <law at redhat dot com> --- if (_8 != _14) goto <bb 3>; else goto <bb 6>; <bb 3>: target_bb.1_15 = target_bb; if (_14 == target_bb.1_15) goto <bb 4>; else goto <bb 6>; <bb 4>: if (_8 != target_bb.1_15) goto <bb 5>; else goto <bb 6>; Presumably depending on the ordering in the conditionals, we should discover that in bb4 _8 and _15 are equal and eliminate the test.