🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2479

Fatal error in `gcc'

#2479
From: Derek Clegg
Date: Mon, 27 Mar 1989 16:22
33 lines
1308 bytes
/* Version:
 *     gcc version 1.34
 * File:
 *     <this file>
 * Compile with:
 *     gcc -c <this file>
 * Problem:
 *     `gcc' dies with a fatal signal 6.
 * Output:
 *	<this file>: In function xyzzy:
 *	<this file>:32: `string' undeclared (first use this function)
 *	<this file>:32: (Each undeclared identifier is reported only once
 *	<this file>:32: for each function it appears in.)
 *	<this file>:32: parse error before `)'
 *	<this file>:32: parse error before `)'
 *	<this file>:32: parse error before `)'
 *	gcc: Program cc1 got fatal signal 6.
 * Notes:
 *     gcc was compiled with `config.gcc sun3'.
 *     I am using a Sun 3/60 with UNIX 4.2 (Sun release 3.5).
 *
 *		Derek B Clegg ({uunet,ucbcad,sun}!island!derek)
 */
struct FOO {
    int x,y;
    void *z;
};

void
xyzzy(char *obj, struct FOO foo)
{
    foo = (obj += sizeof(string *), *(string **)(obj - sizeof(string *)));
}
Technical Details
Message-ID: <8903271622.AA16053@fiji.island.uucp>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!UUNET.UU.NET!island!fiji!derek

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!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: <8903271622.AA16053@fiji.island.uucp>
Date: 27 Mar 89 16:22:49 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 33