https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109031
--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Roger Sayle from comment #28) > The integer_all_onesp test is only equivalent to -1 when the TREE_TYPE (x) > is the same width or wider than type ... or the narrower type is signed.