r175671 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
jason@gcc.gnu.org
jason@gcc.gnu.org
Wed Jun 29 21:19:00 GMT 2011
Author: jason
Date: Wed Jun 29 21:19:31 2011
New Revision: 175671
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175671
Log:
DR 1207
PR c++/49003
* cp-tree.h (struct saved_scope): Add x_current_class_ptr,
x_current_class_ref.
(current_class_ptr, current_class_ref): Use them.
* decl.c (build_this_parm): Handle getting the class type.
* parser.c (cp_parser_late_return_type_opt): Set up 'this'
for use within the trailing return type.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/trailing6.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/pr45908.C
More information about the Gcc-cvs
mailing list