🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6178

Bug Report -- Core Dumping of gcc 2.7.2.1 on __asm__

#6178
From: Andy Shaw
Date: Thu, 21 Nov 1996 00:00
22 lines
990 bytes
Hello:

After sending the original bug report to you, blhuber@mtu.edu was kind
enough to suggest a _much_ shorter gcc program which caused the same error.

I have included it below -- again, this is running on a Sparc 10 running
SunOS 4.1.3.  I believe that the program below is legal, and yet it causes
gcc 2.7.2.1 to core dump when compiling at -O2.

Any help is appreciated,

Andy Shaw



register int return_reg  __asm__("%l1");

int main()
{
  return_reg = ! return_reg;
}
Technical Details
Message-ID: <9611220257.AA16820@au-bon-pain.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,fbbfb9a63ae97e9a,start
X-Google-Attributes: gid113d02,public
From: shaw@au-bon-pain.lcs.mit.edu (Andy Shaw)
Subject: Bug Report -- Core Dumping of gcc 2.7.2.1 on __asm__
Date: 1996/11/21
Message-ID: <9611220257.AA16820@au-bon-pain.lcs.mit.edu>
X-Deja-AN: 197980010
sender: bug-gcc-request@prep.ai.mit.edu
x-gateway: relay6.UU.NET from bug-gcc to gnu.gcc.bug; Thu, 21 Nov 1996 22:22:38 EST
newsgroups: gnu.gcc.bug