diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-12-13 17:47:52 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-12-13 17:47:52 +0000 |
commit | a91409fcde10297abf47b8a6f81626d1c993f954 (patch) | |
tree | 5fa360adc23ea7ac25bb9c4098a132ab0aa4f03d /gcc/cp/ChangeLog | |
parent | e5d35ca926ad0ef47f7283ed391e86a2c32cef88 (diff) | |
download | gcc-a91409fcde10297abf47b8a6f81626d1c993f954.zip gcc-a91409fcde10297abf47b8a6f81626d1c993f954.tar.gz gcc-a91409fcde10297abf47b8a6f81626d1c993f954.tar.bz2 |
[PR c++/87531] Fix second bug
https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00929.html
PR c++/87531
* class.c (finish_struct): Set DECL_CONTEXT of template assign op.
* name-lookup.c (get_class_binding_direct): Don't strip using-decl
of overload here.
* parser.c (cp_parser_postfix_expression): Cope with using decl in
overload set.
* semantics.c (finish_id_expr): Likewise.
* g++.dg/lookup/pr87531-2.C: New.
From-SVN: r267099
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c780e05..5687ec2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +2018-12-13 Nathan Sidwell <nathan@acm.org> + + PR c++/87531 + * class.c (finish_struct): Set DECL_CONTEXT of template assign op. + * name-lookup.c (get_class_binding_direct): Don't strip using-decl + of overload here. + * parser.c (cp_parser_postfix_expression): Cope with using decl in + overload set. + * semantics.c (finish_id_expr): Likewise. + 2018-12-04 Marek Polacek <polacek@redhat.com> Backported from mainline |