aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2011-07-10 10:24:03 -0400
committerJason Merrill <jason@gcc.gnu.org>2011-07-10 10:24:03 -0400
commit53130f756045ccc520dc6ec8a6881dedfad8b46a (patch)
tree791dd149ab8ea0df82b255c78fc444837e3d1ae9 /gcc/cp/ChangeLog
parent7746ff43a6f8e6e555464367c08e0a1f43eedc57 (diff)
downloadgcc-53130f756045ccc520dc6ec8a6881dedfad8b46a.zip
gcc-53130f756045ccc520dc6ec8a6881dedfad8b46a.tar.gz
gcc-53130f756045ccc520dc6ec8a6881dedfad8b46a.tar.bz2
re PR c++/49691 (ICE in cp_parser_late_return_type_opt, at cp/parser.c:15562)
PR c++/49691 * parser.c (cp_parser_late_return_type_opt): Check quals parameter rather than current_class_type to determine whether to set 'this'. (cp_parser_direct_declarator): Pass -1 to quals if member_p is false. (cp_parser_init_declarator): Pass down member_p. From-SVN: r176120
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 c19e8b3..765c33b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,11 @@
+2011-07-10 Jason Merrill <jason@redhat.com>
+
+ PR c++/49691
+ * parser.c (cp_parser_late_return_type_opt): Check quals parameter
+ rather than current_class_type to determine whether to set 'this'.
+ (cp_parser_direct_declarator): Pass -1 to quals if member_p is false.
+ (cp_parser_init_declarator): Pass down member_p.
+
2011-07-09 Jason Merrill <jason@redhat.com>
* tree.c (build_vec_init_elt): Strip TARGET_EXPR.