Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!EAST.SUN.COM!lynch From: lynch@EAST.SUN.COM (Brendan Lynch - Sun East Coast Software) Newsgroups: gnu.gcc.bug Subject: re: Bug in gcc-1.35, sparc version Message-ID: <8905221544.AA01055@amandla.ESS.East.Sun.COM> Date: 22 May 89 15:44:22 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 Some further info that may be of help: I had compiled gcc-1.35 with the the value "CFLAGS=-O" (no -g: yes, I know this is stupid, but...). This version of gcc forgot to push the parameters to the builtin ".div". Compiling gcc with "CFLAGS=-g -O" produces a compiler that generates correct code fo the call to ".div". In both cases, the sample program I mentioned in my last mail was compiled without -g or -O flags: simply "gcc -S". So the "-g" flag affects the compiled code of the compiler, and compiling without it causes the stage1 compiler to generate incorrect code for the stage2 compiler. Hope this helps troubleshoot the bug. Brendan Lynch lynch@east.sun.com