diff options
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 09fe7eb..889e7d7 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -3201,9 +3201,9 @@ verify_expr (tree *tp, int *walk_subtrees, void *data ATTRIBUTE_UNUSED) case COND_EXPR: x = COND_EXPR_COND (t); - if (TREE_CODE (TREE_TYPE (x)) != BOOLEAN_TYPE) + if (!INTEGRAL_TYPE_P (TREE_TYPE (x))) { - error ("non-boolean used in condition"); + error ("non-integral used in condition"); return x; } if (!is_gimple_condexpr (x)) |