🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2658

`gcc' dies with a fatal signal 6.

#2658
From: Derek Clegg
Date: Fri, 19 May 1989 14:26
25 lines
1006 bytes
/* Version:
 *     gcc version 1.35
 * File:
 *     <this file>
 * Compile with:
 *     gcc -c <this file>
 * Problem:
 *     `gcc' dies with a fatal signal 6.
 * Output:
 *     gcc: Program cc1 got fatal signal 6.
 * Notes:
 *     gcc was compiled with `config.gcc sun3-os4'.
 *     I am using a Sun 3/60 with UNIX 4.2 (Sun release 4.0.1).
 *
 *		Derek B Clegg ({uunet,ucbcad,sun}!island!derek)
 */

void
Strcpy(char *dst, const char *src)
{
    int count = -1;

    asm("0: moveb %0,%1; dbeq %2,0b; bne 0b" : "=a" (*dst++) : "a" (*src++),
	"d" (count));
}
Technical Details
Message-ID: <8905191426.AA11746@M4.island.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!UUNET.UU.NET!island!M4!derek

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!UUNET.UU.NET!island!M4!derek
From: island!M4!derek@UUNET.UU.NET (Derek Clegg)
Newsgroups: gnu.gcc.bug
Subject: `gcc' dies with a fatal signal 6.
Message-ID: <8905191426.AA11746@M4.island.uucp>
Date: 19 May 89 14:26:52 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 25