🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1905

Re: Bad assembly code generated on Sun-4 running Sys4-3.2_REV2

#1905
From: hikichi
Date: Wed, 02 Nov 1988 02:59
35 lines
1545 bytes
>This is gcc 1.30.  I got the distribution, configured it with
>"config.gcc sparc", and performed the steps in INSTALL.  On stage 8
>(recompile the compiler with itself), the command (executed by make):

>	stage1/gcc -g -O -Bstage1/ -c obstack.c

>gets these messages:

>	as: "/tmp/cca06620.s", line 78: error: statement syntax
>	:


Please try to use gcc version 1.27 for fix it with following patches.

1. Tieman's patch in prep:/u/emacs/g++.tar-1.27.0.Z
2. my modification for Tieman's patch in
   Sun-4 running Sys4-3.2_REV2(about 10 K byte in context diff format.
   If you wish to try this, please mail me.)
   This problem is cased in diffirect function call protocol
   between gcc-1.27(also gcc-1.30) and standard sun cc as following.

* call instruction problem.
<cc>
call .ptr_call,1  # second args is # of args. adr is in %g1.
nop             # %o0 arg1, %o1 arg2,..

<gcc>
call %o1,0      # %o0 arg1, %o1 arg2,.. %on arg(n+1), %o(n+1) call addr
nop             # first arg is %o(n+1)



			Nobuyuki Hikichi in Free Software Foundation
			ARPANET: hikichi@wheaties.ai.mit.edu
Technical Details
Message-ID: <8811021659.AA03879@hobbes.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!mailrus!cwjcc!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!hikichi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!mailrus!cwjcc!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!hikichi
From: hikichi@WHEATIES.AI.MIT.EDU
Newsgroups: gnu.gcc.bug
Subject: Re: Bad assembly code generated on Sun-4 running Sys4-3.2_REV2
Message-ID: <8811021659.AA03879@hobbes.ai.mit.edu>
Date: 2 Nov 88 02:59:15 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 35