is_all_integer_type (const struct aop_type *type)
{
return ((type->kind == ATK_SIGNED_INT || type->kind == ATK_UNSIGNED_INT)
- && type->size <= 0);
+ && type->pointer_levels == 0 && type->size <= 0);
}
/* Returns true if specified type is an "all fp" type. */
bool
is_all_fp_type (const struct aop_type *type)
{
- return ((type->kind == ATK_FP) && type->size <= 0);
+ return ((type->kind == ATK_FP) && type->pointer_levels == 0
+ && type->size <= 0);
}
static bool