projects
/
gcc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
parser.c (cp_parser_dependent_type_p): Fix thinko.
[gcc.git]
/
gcc
/
cp
/
parser.c
diff --git
a/gcc/cp/parser.c
b/gcc/cp/parser.c
index a4953c888cbba26db01923097b24508571b424a2..57dae655f39e518dd64d33de38bf2d173f9b03de 100644
(file)
--- a/
gcc/cp/parser.c
+++ b/
gcc/cp/parser.c
@@
-1882,7
+1882,7
@@
cp_parser_dependent_type_p (type)
value-dependent. */
if (TREE_CODE (type) == ARRAY_TYPE)
{
- if (TYPE_DOMAIN (
TREE_TYPE (type)
)
+ if (TYPE_DOMAIN (
type
)
&& ((cp_parser_value_dependent_expression_p
(TYPE_MAX_VALUE (TYPE_DOMAIN (type))))
|| (cp_parser_type_dependent_expression_p