mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 02:49:05 +08:00
tweak
From-SVN: r21797
This commit is contained in:
parent
509087ae2b
commit
d12e8f597a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user