This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]