home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!sun-barr!rutgers!faatcrl!iecc!compilers-sender
- From: khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup)
- Newsgroups: comp.compilers
- Subject: Re: -O4 in SunOS compiler
- Keywords: C, optimize
- Message-ID: <92-09-020@comp.compilers>
- Date: 1 Sep 92 16:55:28 GMT
- References: <92-08-164@comp.compilers>
- Sender: compilers-sender@iecc.cambridge.ma.us
- Reply-To: khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup)
- Organization: Sun MegaSystems
- Lines: 26
- Approved: compilers@iecc.cambridge.ma.us
-
- jb3o+@andrew.cmu.edu (Jon Allen Boone) writes:
-
- What does the -O4 switch do to the SunOS compiler?
-
- Helps to be more precise about the version of the compiler in
- question.
-
- 4 Same as -O3, but trace the effects of
- pointer assignments, gather aliasing
- information, do parameter propagation,
- and perform inlining.
-
- is the text in C1.1.
-
- By tracing the effects of pointer assignments it is sometimes
- possible to perform "f77 style" optimizations.
-
- The inlining works when the caller and the callee are in the same file
- and a variety of heuristics regarding the expansion are satisfied.
- --
- Keith H. Bierman keith.bierman@Sun.COM| khb@chiba.Eng.Sun.COM
- SunPro 2550 Garcia MTV 12-33 | (415 336 2648) fax 964 0946
- Mountain View, CA 94043
- --
- Send compilers articles to compilers@iecc.cambridge.ma.us or
- {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.
-