aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-07-01 16:24:25 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-07-01 16:24:25 -0400
commitd816a3ba71e05342e7ddbf9c0a7b0bb67d05dc12 (patch)
treed1ea8adbb7a89330a40f22b4d90fd74b7d2be45b /gcc/cp/ChangeLog
parenta771bf1cf6a6d6f785f5b6f714e9d732ccfcc757 (diff)
downloadgcc-d816a3ba71e05342e7ddbf9c0a7b0bb67d05dc12.zip
gcc-d816a3ba71e05342e7ddbf9c0a7b0bb67d05dc12.tar.gz
gcc-d816a3ba71e05342e7ddbf9c0a7b0bb67d05dc12.tar.bz2
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
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog8
1 files changed, 8 insertions, 0 deletions
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 <jason@redhat.com>
+ 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.