diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 7968b28..ec5912f 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -11840,9 +11840,8 @@ cp_parser_member_declaration (cp_parser* parser) { tree s = TREE_VALUE (specifier); - if (TREE_CODE (s) == IDENTIFIER_NODE - && IDENTIFIER_GLOBAL_VALUE (s)) - type = IDENTIFIER_GLOBAL_VALUE (s); + if (TREE_CODE (s) == IDENTIFIER_NODE) + get_global_value_if_present (s, &type); if (TREE_CODE (s) == TYPE_DECL) s = TREE_TYPE (s); if (TYPE_P (s)) |