diff options
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index c53e0328cd0..1748fe0aa69 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -1413,9 +1413,9 @@ dump_expr (tree t, int flags) if (TREE_CODE (type) == ARRAY_REF) type = build_cplus_array_type (TREE_OPERAND (type, 0), - build_index_type (fold (build2 (MINUS_EXPR, integer_type_node, - TREE_OPERAND (type, 1), - integer_one_node)))); + build_index_type (fold_build2 (MINUS_EXPR, integer_type_node, + TREE_OPERAND (type, 1), + integer_one_node))); dump_type (type, flags); if (init) { |