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 3fd5772..09fe7eb 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -3287,8 +3287,8 @@ verify_expr (tree *tp, int *walk_subtrees, void *data ATTRIBUTE_UNUSED) } /* Check to make sure the second operand is an integer with type of sizetype. */ - if (!tree_ssa_useless_type_conversion_1 (sizetype, - TREE_TYPE (TREE_OPERAND (t, 1)))) + if (!useless_type_conversion_p (sizetype, + TREE_TYPE (TREE_OPERAND (t, 1)))) { error ("invalid operand to pointer plus, second operand is not an " "integer with type of sizetype."); |