https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> --- INTEGRAL_TYPE_P is only true for scalar integral types (integer, enum and boolean). Do you mean ANY_INTEGRAL_TYPE_P instead which is true also for integral vector and complex types? Anyway, one can use element_precision (type) to query the precision for scalar types and precision of each element (for vector and complex types).