From: Jason Merrill Date: Mon, 17 Aug 1998 17:25:32 +0000 (-0400) Subject: tweak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d12e8f597a8456fb3628807991d0996f23cfadb2;p=gcc.git tweak From-SVN: r21797 --- 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;