🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1819

gcc 1.28/386 bug

#1819
From: James Van Artsdalen
Date: Tue, 18 Oct 1988 23:04
30 lines
1169 bytes
The following demonstrates a bug in 1.28 on the 386.  I can't bring up
1.29 or 1.30 to try it there.  This was found by Tony Overfield: replies
to me.

/tmp> cat tmp.c
struct {
  int a, b;
} array[50];

int
bug(s, d, i)
int s, d, i;
{
  while (i > 0) {
    i--;
    array[d + i] = array[s + i];
  }
}
/tmp> gcc -v -O -c tmp.c
gcc version 1.28
 /usr/local/lib/gcc-cpp -v -undef -D__GNU__ -D__GNUC__ -Dunix -Di386 -D__OPTIMIZE__ tmp.c /tmp/cca00048.cpp
GNU CPP version 1.28
 /usr/local/lib/gcc-cc1 /tmp/cca00048.cpp -quiet -dumpbase tmp.c -O -version -o /tmp/cca00048.s
GNU C version 1.28 (80386, ATT syntax) compiled by GNU C version 1.28.
gcc: Program cc1 got fatal signal 6.
(ERR:1)
/tmp> 
-- 
James R. Van Artsdalen      james@bigtex.cactus.org      "Live Free or Die"
Home: 512-346-2444 Work: 338-8789       9505 Arboretum Blvd Austin TX 78759
Technical Details
Message-ID: <9488@bigtex.cactus.org>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!texbell!bigtex!james

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!texbell!bigtex!james
From: james@bigtex.cactus.org (James Van Artsdalen)
Newsgroups: gnu.gcc.bug
Subject: gcc 1.28/386 bug
Message-ID: <9488@bigtex.cactus.org>
Date: 18 Oct 88 23:04:46 GMT
Organization: F.B.N. Software, Austin TX
Lines: 29