re PR c++/28018 (g++.dg/ext/complit1.C fails: in emit_move_insn, at expr.c:3275)
authorMark Mitchell <mark@codesourcery.com>
Wed, 14 Jun 2006 19:18:45 +0000 (19:18 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 14 Jun 2006 19:18:45 +0000 (19:18 +0000)
commitcf24598a2e455e30465a5c00f6be8b31fe8f7a79
treee21f95026b3b414900790882c1ec32a7f73c326a
parent438d94ed9aa413a0dbe8ba45b3cf25c196f20c1e
re PR c++/28018 (g++.dg/ext/complit1.C fails: in emit_move_insn, at expr.c:3275)

PR c++/28018
* typeck.c (build_modify_expr): Disallow array assignment.
PR c++/28018
* g++.old-deja/g++.benjamin/14664-2.C: Expect error for array
assignment.
* g++.old-deja/g++.pt/crash51.C: Likewise.

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