Article View: gnu.gcc.bug
Article #1839Short program gets fatal signal on sparc for gcc 1.28
From: "Douglas C. Schmidt"
Date: Sun, 23 Oct 1988 20:26
Date: Sun, 23 Oct 1988 20:26
30 lines
1264 bytes
1264 bytes
The following short program gets a fatal signal on the sparc running
gcc 1.28:
----------------------------------------
struct state {
struct state (*next)(struct state);
};
struct state foo(struct state Current)
{
return(Current);
}
main()
{
struct state state = { foo };
state_machine(state);
}
----------------------------------------
Here's the diagnostic:
gcc version 1.28
/usr/public/lib/gcc/gcc-cpp -v -I/cd/ua/schmidt/include/ -undef -D__GNU__ -D__GNUC__ -Dsparc -Dsun -Dunix state.c /tmp/cca18452.cpp
GNU CPP version 1.28
/usr/public/lib/gcc/gcc-cc1 /tmp/cca18452.cpp -quiet -dumpbase state.c -finline-functions -version -o /tmp/cca18452.s
GNU C version 1.28 (sparc) compiled by GNU C version 1.28.
/usr/public/gcc: Program cc1 got fatal signal 6.
Technical Details
Message-ID:
<8810231326.aa19147@PARIS.ICS.UCI.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!ORION.CF.UCI.EDU!schmidt%blanche.ics.uci.eduShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!ORION.CF.UCI.EDU!schmidt%blanche.ics.uci.edu
From: schmidt%blanche.ics.uci.edu@ORION.CF.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.gcc.bug
Subject: Short program gets fatal signal on sparc for gcc 1.28
Message-ID: <8810231326.aa19147@PARIS.ICS.UCI.EDU>
Date: 23 Oct 88 20:26:36 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 30