glenne%hplsla@HP-SDE.SDE.HP.COM (Glenn Engel) (04/29/89)
The following code generates a cc1 fatal signal 6 when compiled. gcc -v bug.c gcc version 1.35 /usr/local/lib/gcc-cpp -v -undef -D__GNUC__ -Dhp9000s200 -Dhp9000s300 -DPWB -Dm c68k -Dhpux -Dunix -D__hp9000s200__ -D__hp9000s300__ -D__PWB__ -D__mc68k__ -D__h pux__ -D__unix__ -D__HAVE_68881__ -Dmc68020 bug.c /tmp/cca18384.cpp GNU CPP version 1.35 /usr/local/lib/gcc-cc1 /tmp/cca18384.cpp -quiet -dumpbase bug.c -version -o /tm p/cca18384.s GNU C version 1.35 (68k, MIT syntax) compiled by GNU C version 1.35. gcc: Program cc1 got fatal signal 6. (gcc-1.34 did the same thing.) -- | Glenn R. Engel | Hewlett-Packard | (206) 335-2066 | glenne%hplsla@hplabs.hp.com typedef struct { char blob[20]; char bean[30]; } Splato; doit(Splato* mess) { #ifndef OK /* * this blows up. */ asm (" clrb %0@" : : "a" (mess->blob)); #endif /* * This one seems to work. */ asm (" clrb %0@" : : "a" ((char *)mess->blob)); }