decl.c (maybe_deduce_size_from_array_init): Set do_default for all non-extern arrays.
authorJason Merrill <jason@redhat.com>
Wed, 13 Sep 2000 01:02:52 +0000 (21:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 13 Sep 2000 01:02:52 +0000 (21:02 -0400)
commitf2ae0c45c0bf4868cd3207eaad54eedff4488edf
tree1e7159a57b47665ba88d5de38a5e4b6a58dbcfab
parent634dd0ca7756a22847e2327b6270792cbd042495
decl.c (maybe_deduce_size_from_array_init): Set do_default for all non-extern arrays.

        * decl.c (maybe_deduce_size_from_array_init): Set do_default for
        all non-extern arrays.

        * decl.c (grokdeclarator): Complain about 'friend T' for implicit
        typenames, too.  Downgrade complaint to pedwarn.
        (xref_tag): Warn about surprising behavior of 'friend struct T'.
        * decl2.c (handle_class_head): Generate a TYPENAME_TYPE for
        'class This::Inherited'.

From-SVN: r36382
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/decl2.c