diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 4729d1ed5dd..23994b0808a 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -15248,7 +15248,7 @@ cp_parser_base_clause (cp_parser* parser) /* Make this a pack expansion type. */ TREE_VALUE (base) = make_pack_expansion (TREE_VALUE (base)); else - check_for_bare_parameter_packs (TREE_VALUE (base)); + check_for_bare_parameter_packs (&TREE_VALUE (base)); TREE_CHAIN (base) = bases; bases = base; |