From d12e8f597a8456fb3628807991d0996f23cfadb2 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 17 Aug 1998 13:25:32 -0400 Subject: [PATCH] tweak From-SVN: r21797 --- gcc/cp/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 685810ae504..44d36b99f23 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2368,7 +2368,7 @@ lvalue_type (arg) tree type = TREE_TYPE (arg); if (TREE_CODE (arg) == OVERLOAD) type = unknown_type_node; - if (TREE_CODE (type) != ARRAY_TYPE) + else if (TREE_CODE (type) != ARRAY_TYPE) type = cp_build_type_variant (type, TREE_READONLY (arg), TREE_THIS_VOLATILE (arg)); return type; -- 2.30.2