typeck2.c (process_init_constructor): If there are elements that don't have initializ...
authorJason Merrill <jason@yorick.cygnus.com>
Mon, 23 Nov 1998 23:57:32 +0000 (23:57 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 23 Nov 1998 23:57:32 +0000 (18:57 -0500)
commite6267549228960d1a5422dc073a0026081e39130
tree8a5a846dae3a69d58c913a71a6e6fa421ef3ea09
parentd0b9a143e7552eef02291ab94d986867acb828ee
typeck2.c (process_init_constructor): If there are elements that don't have initializers and they need to have...

* 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.

From-SVN: r23819
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/typeck2.c