This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11207] [3.3/3.4 regression] ICE with negative index in array element designator
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2003 01:36:35 -0000
- Subject: [Bug c/11207] [3.3/3.4 regression] ICE with negative index in array element designator
- References: <20030616103739.11207.etienne.lorrain@masroudeau.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11207
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-08-19 01:36 -------
Subject: Bug 11207
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: kraai@gcc.gnu.org 2003-08-19 01:36:29
Modified files:
gcc : ChangeLog c-typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg/noncompile: 20030818-1.c
Log message:
PR c/11207
* c-typeck.c (set_init_index): Check for negative index.
(testsuite/)
* gcc.dg/noncompile/20030818-1.c: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.798&r2=2.799
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&r1=1.252&r2=1.253
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2975&r2=1.2976
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noncompile/20030818-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1