public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11207] New: ICE: negative index in array initialisation when no -funsigned-char
@ 2003-06-16 10:37 etienne.lorrain@masroudeau.com
  2003-06-16 14:13 ` [Bug c/11207] [3.3/3.4 regression] ICE with negative index in array element designator bangerth@dealii.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: etienne.lorrain@masroudeau.com @ 2003-06-16 10:37 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2381 bytes --]

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

           Summary: ICE: negative index in array initialisation when no -
                    funsigned-char
           Product: gcc
           Version: 3.2.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: etienne.lorrain@masroudeau.com
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: i386 Linux
  GCC host triplet: i386 Linux
GCC target triplet: i386 Linux

etienne@fulbert:~/projet/gujin$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,objc,ada --
prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-
include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-
nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --
enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3 (Debian)
etienne@fulbert:~/projet/gujin$ cat f.c
#define _ 0
#define X 1
#define B(p0, p1, p2, p3, p4, p5, p6, p7) \
        {{p7, p6, p5, p4, p3, p2, p1, p0}}

union font_line_u {
      struct {
        unsigned char b0 :1, b1 :1, b2 :1, b3 :1, b4 :1, b5 :1, b6 :1, b7 :1;
        } __attribute__ ((packed)) bit;
      unsigned char group;
      } __attribute__ ((packed));

const union font_line_u font8x8[256][8] = {
      ['e'] = {
        B (_,_,_,_,_,_,_,_),
        B (_,_,_,_,_,_,_,_),
        B (_,_,_,X,_,_,_,_),
        B (_,_,X,_,X,_,_,_),
        B (_,_,X,X,_,_,_,_),
        B (_,_,X,_,_,_,_,_),
        B (_,_,_,X,X,_,_,_),
        B (_,_,_,_,_,_,_,_),
        },
      ['è'] = { /* e grave */
        B (_,_,_,X,_,_,_,_),
        B (_,_,_,_,X,_,_,_),
        B (_,_,_,X,_,X,_,_),
        B (_,_,X,_,X,_,_,_),
        B (_,_,X,X,_,_,_,_),
        B (_,_,X,_,_,_,_,_),
        B (_,_,_,X,X,_,_,_),
        B (_,_,_,_,_,_,_,_),
        },
        };
etienne@fulbert:~/projet/gujin$ gcc -c f.c -funsigned-char
etienne@fulbert:~/projet/gujin$ gcc -c f.c
f.c:24: Internal compiler error in tree_low_cst, at tree.c:3485
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
etienne@fulbert:~/projet/gujin$


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-08-19  4:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-16 10:37 [Bug c/11207] New: ICE: negative index in array initialisation when no -funsigned-char etienne.lorrain@masroudeau.com
2003-06-16 14:13 ` [Bug c/11207] [3.3/3.4 regression] ICE with negative index in array element designator bangerth@dealii.org
2003-06-26 17:33 ` pinskia at physics dot uc dot edu
2003-07-11 23:20 ` mmitchel at gcc dot gnu dot org
2003-07-23 19:49 ` pinskia at physics dot uc dot edu
2003-07-24 21:12 ` janis187 at us dot ibm dot com
2003-08-10 15:28 ` pinskia at gcc dot gnu dot org
2003-08-15  2:02 ` mark at codesourcery dot com
2003-08-19  1:36 ` cvs-commit at gcc dot gnu dot org
2003-08-19  1:42 ` cvs-commit at gcc dot gnu dot org
2003-08-19  4:52 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).