gcc960 Compiler Driver
2-25
2
Note that compiling with the fprof option creates object modules useful
only for collecting a profile. If you compile with
fprof and later do not
want a profile, you must then use substitutions to replace every
instrumented module in
prog, or you must recompile the modules without
the fprof option. See Chapter 4 for more information on this subject.
f (Fine-Tune)
Enable or disable
specific options.
In most cases, you will want to optimize code automatically by using the
various
O optimizations. (See the section on the -O option.) In some cases,
however, you may want to enable or disable specific features for a given
optimization level. For example, at optimization level
O0, you cannot
enable instruction scheduling with
fschedule-insns. As with any
optimization process, you should first compile without the option and then
recompile with the desired option enabled/disabled. You can then compare
the generated assembly code and see if adding/removing the option
produced the desired result.
Before using any of these options, read chapters 4 through 6 for an
overview using the compilation system’s performance features.
f[no-]asm Do [not] recognize asm, inline or
typeof as a keyword. These words can
then be used as identifiers. You can use
_ _asm_ _, _ _inline_ _ and
_ _typeof_ _ instead. This option
provides compatibility with strict ANSI
standards. See also the
-ansi option.