https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113574
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- convert uses TYPE_SIZE .... /* If shift count is less than the width of the truncated type, really shift. */ if (tree_int_cst_lt (TREE_OPERAND (expr, 1), TYPE_SIZE (type))) Really?????? That dates from the begining of git history too :).