Article View: gnu.gcc.bug
Article #2127Fatal error in gcc
From: Derek Clegg
Date: Thu, 05 Jan 1989 20:48
Date: Thu, 05 Jan 1989 20:48
31 lines
1048 bytes
1048 bytes
/* Version:
* gcc version 1.31
* File:
* <this file>
* Compile with:
* gcc -c <this file>
* Problem:
* cc1 aborts.
* Output:
* <this file>:19: undeclared variable `LEXMAX' (first use here)
* <this file>:19: field `string' has incomplete type
* gcc: Program cc1 got fatal signal 6.
* Notes:
* gcc was compiled with `tm-sun3.h' && `xm-m68k.h'
* I am using a Sun 3/60 with UNIX 4.2 (Sun release 3.5).
*/
struct ScanContext {
char string[LEXMAX];
char *ptr;
} *sc;
void
start()
{
sc->ptr = sc->string;
}
#if 0
Derek B Clegg ({uunet,ucbcad,sun}!island!fiji!derek)
#endif
Technical Details
Message-ID:
<8901052048.AA28858@fiji.island.uucp>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!island!fiji!derekShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!island!fiji!derek From: island!fiji!derek@UUNET.UU.NET (Derek Clegg) Newsgroups: gnu.gcc.bug Subject: Fatal error in gcc Message-ID: <8901052048.AA28858@fiji.island.uucp> Date: 5 Jan 89 20:48:32 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31