------- Comment #21 from jakub at gcc dot gnu dot org 2010-03-24 22:48 ------- I guess we want to call gimple_boolify on the __builtin_expect argument only if it is (inside of the (long) cast) one of the handled cases (TRUTH_*_EXPR, comparisons), but not in the case it is neither of these - then the NE_EXPR around the __builtin_expect was really meant to be the comparison that needs to be boolified and nothing else.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43385