r142418 - in /trunk/gcc: cp/ChangeLog cp/init.c...

jason@gcc.gnu.org jason@gcc.gnu.org
Wed Dec 3 23:57:00 GMT 2008


Author: jason
Date: Wed Dec  3 23:57:19 2008
New Revision: 142418

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142418
Log:
        PR c++/38232
        * init.c (build_value_init): Do initial zero-initialization
        of a class with an implicitly-defined constructor using
        build_zero_init rather than in build_value_init.
        (build_value_init_1): Fold into build_value_init.

Added:
    trunk/gcc/testsuite/g++.dg/init/value5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list