🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6129

Re: Pentium gcc 2.7.2p problems

#6129
From: Alan Shutko
Date: Thu, 05 Dec 1996 00:00
40 lines
2573 bytes
>>>>> "BG" == Boris Gjenero <bgjenero@undergrad.math.uwaterloo.ca> writes:

BG> I don't know whether the FSF cares about the Pentium optimising
BG> gcc, but anyways, I am posting this here.  If anybody knows where
BG> this information should go instead, *please* tell me.

Try checking the Pentium Compiler Group web site at
http://www.goof.com/pcg/ .  The Pentium GCC is not currently
maintained by the FSF.

BG> The other scary thing is whether 2.7.2p has other, less fatal
BG> bugs.  I would hate to have programs behave bizzarely and then be
BG> left wondering if it is the program or the compiler.

According to the PGCC FAQ:

Everything could be compiled with -O2 or -O3. However there are some
problems which occur quite often with -O4, and -O5 or -O6 are almost
unusable. (Although the pentium-gzip on sunsite was compiled with -O6
and seems to be just fine).  In versions earlier than 960511, -O4 and
above have indeed problems, but 960511 is somewhat slower, though, but
this comes from the original gcc, too, which in version 2.8.0 maybe
somewhat slower than 2.7.2.

The resulting code is rarely broken, but if anything goes wrong, try
with -O2 switch. The -O2 seems to produce correct code on all
occasions. The -O3 seems to be as good as the -O2 switch, and in fact
I use -O6 always. In the cases where I get errors, I use -O3
switch. About 99% of all my sof twares (including the kernel) are
compiled with -O6 switch. A large amount of that software is compiled
with -O6 -frisc.  Beginning with snapshot 960816 anything up to -O6 is
reliable. The optimizations that aren't reliable are not enabled by
ANY -Ox statement, you have to enable them by hand.

So depending on the version you have, you may not want to use it.

--
Alan Shutko <ats@hubert.wustl.edu> - The Few, the Proud, the Remaining.
Faith goes out through the window when beauty comes in at the door.
Technical Details
Message-ID: <m23exkzhzi.fsf@hubert.wustl.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <32A6F0F5.34F7298A@undergrad.math.uwaterloo.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,e5e62272f4ba314
X-Google-Attributes: gid113d02,public
From: ats@wydo125.wustl.edu (Alan Shutko)
Subject: Re: Pentium gcc 2.7.2p problems
Date: 1996/12/05
Message-ID: <m23exkzhzi.fsf@hubert.wustl.edu>
X-Deja-AN: 202582045
sender: bug-gcc-request@prep.ai.mit.edu
references: <32A6F0F5.34F7298A@undergrad.math.uwaterloo.ca>
content-type: text/plain; charset=US-ASCII
organization: Washington University in St. Louis, MO USA
x-gateway: relay2.UU.NET from bug-gcc to gnu.gcc.bug; Thu, 5 Dec 1996 18:31:44 EST
mime-version: 1.0 (generated by tm-edit 7.93)
newsgroups: gnu.gcc.bug