gcc 3.3 crashes

Frane Saric fsaric@fly.srk.fer.hr
Wed Mar 17 22:01:00 GMT 2004


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)



More information about the Gcc-bugs mailing list