typeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional.
authorJason Merrill <jason@redhat.com>
Thu, 25 Apr 2002 00:13:45 +0000 (20:13 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 25 Apr 2002 00:13:45 +0000 (20:13 -0400)
commita49cfba81bf9021a62ca111e7f7baea84213a19a
treedf80a5e6a3e2b9311e58c1832f38a21203278e85
parentfcae219ac449243231ebbe73eefddde824d7354b
typeck.c (build_modify_expr): The pedwarn for array assignment is now unconditional.

        * typeck.c (build_modify_expr): The pedwarn for array assignment is
        now unconditional.
        * tree.c (build_cplus_array_type_1): Still process simple array types
        normally in templates.

From-SVN: r52746
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.benjamin/14664-1.C
gcc/testsuite/g++.old-deja/g++.benjamin/14664-2.C
gcc/testsuite/g++.old-deja/g++.pt/crash51.C