DR 1207 PR c++/49589
authorJason Merrill <jason@redhat.com>
Mon, 4 Jul 2011 21:44:04 +0000 (17:44 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 4 Jul 2011 21:44:04 +0000 (17:44 -0400)
commitf2fe30af839aaa7d0ad617d739f22eae41181042
treed5b50e32af7046054dd64b22084484f36bb8cbf9
parent21d69a5bb0e06bd8876242c99001ad3b9c7946b1
DR 1207 PR c++/49589

DR 1207
PR c++/49589
* mangle.c (write_expression): Handle 'this'.
* parser.c (cp_parser_postfix_dot_deref_expression): Allow
incomplete *this.
* semantics.c (potential_constant_expression_1): Check that
DECL_CONTEXT is set on 'this'.

From-SVN: r175835
gcc/cp/ChangeLog
gcc/cp/mangle.c
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/mangle48.C [new file with mode: 0644]