https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51312
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> --- ... but then value isn't yet an INTEGER_CST and we can't use int_fits_type_p... Still, something seems redundant between an early conversion and the final convert.