🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2107

program crashes when run on sparc

#2107
From: "Douglas C. Schmidt"
Date: Sun, 01 Jan 1989 04:13
44 lines
1231 bytes
Bug Report for GCC:
-------------------
Problem :  The following program crashes with a bus error when run, 
           if compiled *without* the -O option with gcc 1.32.  It 
           doesn't crash if -O is used.

1.) Version : gcc 1.32
-----------

2.) Input Program :
-----------------

bletch( fred_addr )
   double *fred_addr;
{
   *fred_addr = 0.0;
}

bar( fred )
   double fred;
{
   bletch( &fred );
}

main()
{
   double fred;
   bar( fred );
}

3.) Command Used : gcc ( no options )
----------------

4.) Files used :
--------------
		tm.h          -> tm-sparc.h
		md            -> sparc.md
      config.h      -> xm-sunos4.h
      aux-output.c  -> output-sparc.c
      
5.) Machine(s) used :
-------------------
   Sun 4 running Sun4.0
Technical Details
Message-ID: <8812312021.aa12026@PARIS.ICS.UCI.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!PARIS.ICS.UCI.EDU!schmidt%crimee.ics.uci.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!PARIS.ICS.UCI.EDU!schmidt%crimee.ics.uci.edu
From: schmidt%crimee.ics.uci.edu@PARIS.ICS.UCI.EDU ("Douglas C. Schmidt")
Newsgroups: gnu.gcc.bug
Subject: program crashes when run on sparc
Message-ID: <8812312021.aa12026@PARIS.ICS.UCI.EDU>
Date: 1 Jan 89 04:13:44 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 44