🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2665

re: Bug in gcc-1.35, sparc version

#2665
From: Brendan Lynch - Sun East Coast S...
Date: Mon, 22 May 1989 15:44
16 lines
1113 bytes
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
Technical Details
Message-ID: <8905221544.AA01055@amandla.ESS.East.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!EAST.SUN.COM!lynch

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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