OSDN Git Service

* typeck2.c (process_init_constructor): If there are elements
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 1998 23:57:32 +0000 (23:57 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 1998 23:57:32 +0000 (23:57 +0000)
commit72ba5dfe6081870dfb510f981d060b86f3dffeff
tree8a5a846dae3a69d58c913a71a6e6fa421ef3ea09
parenta79fbe9572d4d6ea58a5fc26d9d922162af25892
* typeck2.c (process_init_constructor): If there are elements
that don't have initializers and they need to have constructors
run, supply them with initializers.
Fixes Sec12/6_1/P12176.C.
* class.c (finish_struct_1): A class with a 0-width bitfield is
still empty.
Fixes Sec9/6/R09387.r0.  Really this time.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23819 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/typeck2.c