re PR c/8032 (GCC >= 3.0 incorrectly initializes static structs in the presence of...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Thu, 9 Jan 2003 09:18:52 +0000 (10:18 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 9 Jan 2003 09:18:52 +0000 (09:18 +0000)
commitbbb818c65a054d8b6f376877946df369556a14a7
tree5ef97ae8c4bf6d90e10c5a2d5ddeae71991ee6df
parenteb27f449b60ffc5976719633c328097d5384ae6c
re PR c/8032 (GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays)

PR c/8032
* c-typeck.c (process_init_element) [RECORD_TYPE]: For
an empty element, do not advance the pointer to unfilled
fields if there are pending initializers.

From-SVN: r61092
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20030109-1.c [new file with mode: 0644]