🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1900

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

#1900
From: Sam Kendall
Date: Mon, 31 Oct 1988 17:15
30 lines
1358 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
	as: "/tmp/cca06620.s", line 151: error: statement syntax
	as: "/tmp/cca06620.s", line 250: error: statement syntax

I recompiled with the -S option, both with -O and without.  In either
case all three of these messages are the result of this line in the
generated code:

	call %o1,0

The ",0" isn't legal syntax.

Let me know if there's anything else I can do to help you chase down the
problem.  I have no need for gcc on the Sun-4, so I'm going to abandon
the effort for now.

----
Sam Kendall
Saber Software, Inc.
kendall%saber@harvard.edu
harvard!saber!kendall
(617) 876-7636
Technical Details
Message-ID: <8810311715.AA00594@prep.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!HARVARD.HARVARD.EDU!kendall%saber

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!HARVARD.HARVARD.EDU!kendall%saber
From: kendall%saber@HARVARD.HARVARD.EDU (Sam Kendall)
Newsgroups: gnu.gcc.bug
Subject: Bad assembly code generated on Sun-4 running Sys4-3.2_REV2
Message-ID: <8810311715.AA00594@prep.ai.mit.edu>
Date: 31 Oct 88 17:15:39 GMT
Sender: bob@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 30