Article View: gnu.gcc.bug
Article #2572gcc-1.35: Program cc1 got fatal signal 6.
From: Glenn Engel
Date: Fri, 28 Apr 1989 20:54
Date: Fri, 28 Apr 1989 20:54
44 lines
1391 bytes
1391 bytes
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));
}
Technical Details
Message-ID:
<8904282054.AA18441@labgre.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!HP-SDE.SDE.HP.COM!glenne%hplslaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!HP-SDE.SDE.HP.COM!glenne%hplsla From: glenne%hplsla@HP-SDE.SDE.HP.COM (Glenn Engel) Newsgroups: gnu.gcc.bug Subject: gcc-1.35: Program cc1 got fatal signal 6. Message-ID: <8904282054.AA18441@labgre.HP.COM> Date: 28 Apr 89 20:54:10 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 44