Re: -O4 in SunOS compiler

khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup)
Tue, 1 Sep 1992 16:55:28 GMT

          From comp.compilers

Related articles
-O4 in SunOS compiler (Jon Allen Boone) (1992-08-26)
Re: -O4 in SunOS compiler wismuell@Informatik.TU-Muenchen.DE (1992-08-31)
Re: -O4 in SunOS compiler chased@rbbb.Eng.Sun.COM (1992-09-01)
Re: -O4 in SunOS compiler khb@chiba.Eng.Sun.COM (1992-09-01)
Re: -O4 in SunOS compiler (1992-09-02)
-O4 in SunOS compiler (1992-09-03)
Re: -O4 in SunOS compiler (1992-09-04)
| List of all articles for this month |

Newsgroups: comp.compilers
From: khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup)
Organization: Sun MegaSystems
Date: Tue, 1 Sep 1992 16:55:28 GMT
Keywords: C, optimize
References: 92-08-164 (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

                                        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

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.