From d816a3ba71e05342e7ddbf9c0a7b0bb67d05dc12 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 1 Jul 2011 16:24:25 -0400 Subject: re PR c++/48593 (Wrong return type when applying address operator to inherited, template dependend member, using a typedef) PR c++/48593 * pt.c (tsubst_qualified_id): Check PTRMEM_OK_P. * tree.c (build_qualified_name): Set PTRMEM_OK_P. * semantics.c (finish_parenthesized_expr): Clear PTRMEM_OK_P on SCOPE_REF, too. * cp-tree.h (PTRMEM_OK_P): Apply to SCOPE_REF, too. (QUALIFIED_NAME_IS_TEMPLATE): Switch to lang flag 1. From-SVN: r175765 --- gcc/cp/ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/cp/ChangeLog') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ac7eddd..5cfdfbf 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,13 @@ 2011-07-01 Jason Merrill + PR c++/48593 + * pt.c (tsubst_qualified_id): Check PTRMEM_OK_P. + * tree.c (build_qualified_name): Set PTRMEM_OK_P. + * semantics.c (finish_parenthesized_expr): Clear PTRMEM_OK_P on + SCOPE_REF, too. + * cp-tree.h (PTRMEM_OK_P): Apply to SCOPE_REF, too. + (QUALIFIED_NAME_IS_TEMPLATE): Switch to lang flag 1. + PR c++/48883 PR c++/49609 * pt.c (resolve_nondeduced_context): Call mark_used. -- cgit v1.1