projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
509087a
)
tweak
author
Jason Merrill
<jason@gcc.gnu.org>
Mon, 17 Aug 1998 17:25:32 +0000
(13:25 -0400)
committer
Jason Merrill
<jason@gcc.gnu.org>
Mon, 17 Aug 1998 17:25:32 +0000
(13:25 -0400)
From-SVN: r21797
gcc/cp/tree.c
patch
|
blob
|
history
diff --git
a/gcc/cp/tree.c
b/gcc/cp/tree.c
index
685810a
..
44d36b9
100644
(file)
--- 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;