re PR c/16566 (ICE with flexible arrays)
authorJoseph Myers <jsm@polyomino.org.uk>
Wed, 22 Sep 2004 22:51:58 +0000 (23:51 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 22 Sep 2004 22:51:58 +0000 (23:51 +0100)
commit588d1952948769585bff991528868f4dec5db357
tree14520f872d2e5979936c2338f8a3d79f52b13bf4
parent342fb422073220859da583de2649c02b178c2356
re PR c/16566 (ICE with flexible arrays)

PR c/16566
* c-typeck.c (build_component_ref): Don't special-case
COMPOUND_EXPR.

testsuite:
* gcc.c-torture/compile/pr16566-1.c,
gcc.c-torture/compile/pr16566-2.c,
gcc.c-torture/compile/pr16566-3.c: New tests.

From-SVN: r87892
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr16566-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr16566-2.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/pr16566-3.c [new file with mode: 0644]