OSDN Git Service

* decl.c (check_initializer): Try to complete the type of an
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2001 12:53:09 +0000 (12:53 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 14 Nov 2001 12:53:09 +0000 (12:53 +0000)
commit99bd978531b2d5db0c836af72db32ad48b265e3d
tree116ca930c48210e644eea48ac68af51c8a8e845c
parentd244d0194da7c7a10bdef29968648700436141c8
    * decl.c (check_initializer): Try to complete the type of an
        array element before checking whether it's complete.  Don't
        complain about arrays with complete element types but an
        unknown size.
        (cp_finish_decl): Build the hierarchical constructor before
        calling maybe_deduce_size_from_array_init.

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