This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/11207] [3.3/3.4 regression] ICE with negative index in array element designator


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')


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]