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: "janis187 at us dot ibm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2003 21:12:49 -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
janis187 at us dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at redhat dot com
------- Additional Comments From janis187 at us dot ibm dot com 2003-07-24 21:12 -------
The regression in PR 11207 was introduced or exposed by this patch:
--- gcc/gcc/ChangeLog ---
2002-04-26 Alexandre Oliva <aoliva@redhat.com>
* tree.c (tree_int_cst_lt): Compare constants whose types differ
in unsigned-ness correctly.
The regression hunt used the small test case from comment #1 on
i686-pc-linux-gnu. Before this patch, compiling that test case gets:
11207.c:1: array index in initializer exceeds array bounds
11207.c:1: (near initialization for `font8x8')