expr.c (expand_expr, [...]): Correct check for side-effects in the value of an array...
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 1 Jul 2001 20:50:03 +0000 (20:50 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 1 Jul 2001 20:50:03 +0000 (20:50 +0000)
commitc54b0a5e4b261487b58d4ec2db7219f8f5c7233d
treeadfd7bbb9c5ae27997b84e55b147cbff86b52a22
parent074919faeaece80caae9f7873dba67a596e28377
expr.c (expand_expr, [...]): Correct check for side-effects in the value of an array element.

* expr.c (expand_expr, case ARRAY_REF): Correct check for
side-effects in the value of an array element.

From-SVN: r43680
gcc/expr.c
gcc/testsuite/g++.old-deja/g++.other/array6.C [new file with mode: 0644]