]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/11207 (ICE with negative index in array element designator)
authorMatt Kraai <kraai@alumni.cmu.edu>
Tue, 19 Aug 2003 01:36:29 +0000 (01:36 +0000)
committerMatt Kraai <kraai@gcc.gnu.org>
Tue, 19 Aug 2003 01:36:29 +0000 (01:36 +0000)
commit622adc7e1d0dd764163518b15256f3ac381e407f
tree50a577fb9ed3e7bcd37c9eda48702887e18167ec
parentdfccfad9bba8dbc71157e1ece97e785e895b9799
re PR c/11207 (ICE with negative index in array element designator)

PR c/11207
* c-typeck.c (set_init_index): Check for negative index.

(testsuite/)
* gcc.dg/noncompile/20030818-1.c: New.

From-SVN: r70553
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/noncompile/20030818-1.c [new file with mode: 0644]