diff options
author | Jason Merrill <jason@redhat.com> | 2011-07-10 10:24:03 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2011-07-10 10:24:03 -0400 |
commit | 53130f756045ccc520dc6ec8a6881dedfad8b46a (patch) | |
tree | 791dd149ab8ea0df82b255c78fc444837e3d1ae9 /gcc/cp/ChangeLog | |
parent | 7746ff43a6f8e6e555464367c08e0a1f43eedc57 (diff) | |
download | gcc-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/ChangeLog | 8 |
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. |