https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67030
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> --- (In reply to vries from comment #8) > FYI, I'm running into this bootstrap failure on x86_64 (r226251): Weird I don't see this myself. > ... > src/gcc/ipa-devirt.c: In function ‘bool types_same_for_odr(const_tree, > const_tree, bool)’: > src/gcc/ipa-devirt.c:553:8: error: self-comparison always evaluates to false > [-Werror=tautological-compare] > != (TYPE_BINFO (type1) == NULL_TREE)) > ... 551 if (TREE_CODE (type1) == RECORD_TYPE 552 && (TYPE_BINFO (type1) == NULL_TREE) 553 != (TYPE_BINFO (type1) == NULL_TREE)) Ok, that's a clear typo; something that this warning is designed to detect. I'm fixing this separately. Thanks for reporting.