Path: 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 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