This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r124113 - in /branches/cxx0x-branch: ChangeLog....
- From: dgregor at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 24 Apr 2007 18:52:34 -0000
- Subject: r124113 - in /branches/cxx0x-branch: ChangeLog....
Author: dgregor
Date: Tue Apr 24 19:52:34 2007
New Revision: 124113
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124113
Log:
2007-04-24 Pedro Lamarao <pedro.lamarao@mndfck.org>
* parser.c (cp_parser_mem_initializer_list): make sure the rules
constructor delegation are followed.
* init.c (expand_member_init): return properly if name is a
target constructor.
(emit_mem_initializers): if initializer is a target constructor,
delegate.
(perform_target_ctor): new function.
2007-04-24 Pedro Lamarao <pedro.lamarao@mndfck.org>
* g++.dg/cpp0x/dc_01.C: new test.
* g++.dg/cpp0x/dc_02.C: new test.
* g++.dg/cpp0x/dc_03.C: new test.
Added:
branches/cxx0x-branch/gcc/testsuite/g++.dg/cpp0x/dc_01.C
branches/cxx0x-branch/gcc/testsuite/g++.dg/cpp0x/dc_02.C
branches/cxx0x-branch/gcc/testsuite/g++.dg/cpp0x/dc_03.C
Modified:
branches/cxx0x-branch/ChangeLog.cxx0x
branches/cxx0x-branch/gcc/cp/init.c
branches/cxx0x-branch/gcc/cp/parser.c