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]

gcc 3.3 crashes


GCC versions affected: 3.3
gcc -v prints following:
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)



Complete c file (bug.c):
typedef struct{int a;}b;struct {int a;b c[];}a={0,(b*){{0}}



Preprocesed file (bug.i):
# 1 "<built-in>"
# 1 "<command line>"
# 1 "bug.c"
typedef struct{int a;}b;struct {int a;b c[];}a={0,(b*){{0}}



Command arguments:
gcc bug.c

Type of machine I'm using:
PowerMac G4 w MacOS X 10.3.3


(don't discard this as Apple's bug immediately, the bug appears on Solaris & gcc 3.2)



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