🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #51780

gcc -04

#51780
From: Gary W. Flake
Date: Sun, 28 Mar 1993 07:44
21 lines
1319 bytes
I am using gcc version 2.2.2 on a DECstation 3100, and I discovered
(quite by accident) that gcc accepts a -04 option.  I never heard of
this and the man pages say nothing about it.

I checked the generated assembler of normal vs, -O, -O2, and -O4, and
sure enough, -04 generates the most, but it only produces code about
as fast as -02, (sometimes faster somtimes slower -- depends on the
code.)

Interestingly, for ``simple'' functions it generates the same code as
-02, but with different labels.


Anybody know anything about this?

Regards,
Gary
-- 
Spoken: Gary W. Flake  Domain: peyote@umiacs.umd.edu  UUCP: uunet!mimsy!peyote
Phone: +1-301-405-6757 USPS: UMIACS, U. of Maryland,  College Park, MD 20742
Technical Details
Message-ID: <65579@mimsy.umd.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!iris.mbvlab.wpafb.af.mil!blackbird.afit.af.mil!afterlife!mimsy!peyote

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,9274a4552777df75,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-03-28 15:48:40 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!iris.mbvlab.wpafb.af.mil!blackbird.afit.af.mil!afterlife!mimsy!peyote
From: peyote@umiacs.umd.edu (Gary W. Flake)
Newsgroups: gnu.gcc.help
Subject: gcc -04
Summary: Is this a secret-super-ultra-optimizer option?
Message-ID: <65579@mimsy.umd.edu>
Date: 28 Mar 93 07:44:27 GMT
Sender: news@mimsy.umd.edu
Organization: UMIACS, University of Maryland, College Park, MD 20742
Lines: 21