home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gccdist / gcc / gcc.info-2 < prev    next >
Encoding:
GNU Info File  |  1992-09-10  |  36.0 KB  |  900 lines

  1. This is Info file gcc.info, produced by Makeinfo-1.47 from the input
  2. file gcc.texinfo.
  3.  
  4.    This file documents the use and the internals of the GNU compiler.
  5.  
  6.    Copyright (C) 1988, 1989, 1990 Free Software Foundation, Inc.
  7.  
  8.    Permission is granted to make and distribute verbatim copies of this
  9. manual provided the copyright notice and this permission notice are
  10. preserved on all copies.
  11.  
  12.    Permission is granted to copy and distribute modified versions of
  13. this manual under the conditions for verbatim copying, provided also
  14. that the sections entitled "GNU General Public License" and "Protect
  15. Your Freedom--Fight `Look And Feel'" are included exactly as in the
  16. original, and provided that the entire resulting derived work is
  17. distributed under the terms of a permission notice identical to this
  18. one.
  19.  
  20.    Permission is granted to copy and distribute translations of this
  21. manual into another language, under the above conditions for modified
  22. versions, except that the sections entitled "GNU General Public
  23. License" and "Protect Your Freedom--Fight `Look And Feel'" and this
  24. permission notice may be included in translations approved by the Free
  25. Software Foundation instead of in the original English.
  26.  
  27. 
  28. File: gcc.info,  Node: Options,  Next: Installation,  Prev: Boycott,  Up: Top
  29.  
  30. GNU CC Command Options
  31. **********************
  32.  
  33.    The GNU C compiler uses a command syntax much like the Unix C
  34. compiler. The `gcc' program accepts options and file names as operands.
  35. Multiple single-letter options may *not* be grouped: `-dr' is very
  36. different from `-d -r'.
  37.  
  38.    When you invoke GNU CC, it normally does preprocessing, compilation,
  39. assembly and linking.  File names which end in `.c' are taken as C
  40. source to be preprocessed and compiled; file names ending in `.i' are
  41. taken as preprocessor output to be compiled; compiler output files plus
  42. any input files with names ending in `.s' are assembled; then the
  43. resulting object files, plus any other input files, are linked together
  44. to produce an executable.
  45.  
  46.    Command options allow you to stop this process at an intermediate
  47. stage. For example, the `-c' option says not to run the linker.  Then
  48. the output consists of object files output by the assembler.
  49.  
  50.    Other command options are passed on to one stage of processing.  Some
  51. options control the preprocessor and others the compiler itself.  Yet
  52. other options control the assembler and linker; these are not documented
  53. here, but you rarely need to use any of them.
  54.  
  55.    Here are the options to control the overall compilation process,
  56. including those that say whether to link, whether to assemble, and so
  57. on.
  58.  
  59. `-o FILE'
  60.      Place output in file FILE.  This applies regardless to whatever
  61.      sort of output is being produced, whether it be an executable file,
  62.      an object file, an assembler file or preprocessed C code.
  63.  
  64.      If `-o' is not specified, the default is to put an executable file
  65.      in `a.out', the object file `SOURCE.c' in `SOURCE.o', an assembler
  66.      file in `SOURCE.s', and preprocessed C on standard output.
  67.  
  68. `-c'
  69.      Compile or assemble the source files, but do not link.  Produce
  70.      object files with names made by replacing `.c' or `.s' with `.o'
  71.      at the end of the input file names.  Do nothing at all for object
  72.      files specified as input.
  73.  
  74. `-S'
  75.      Compile into assembler code but do not assemble.  The assembler
  76.      output file name is made by replacing `.c' with `.s' at the end of
  77.      the input file name.  Do nothing at all for assembler source files
  78.      or object files specified as input.
  79.  
  80. `-E'
  81.      Run only the C preprocessor.  Preprocess all the C source files
  82.      specified and output the results to standard output.
  83.  
  84. `-v'
  85.      Compiler driver program prints the commands it executes as it runs
  86.      the preprocessor, compiler proper, assembler and linker.  Some of
  87.      these are directed to print their own version numbers.
  88.  
  89. `-pipe'
  90.      Use pipes rather than temporary files for communication between the
  91.      various stages of compilation.  This fails to work on some systems
  92.      where the assembler is unable to read from a pipe; but the GNU
  93.      assembler has no trouble.
  94.  
  95. `-BPREFIX'
  96.      Compiler driver program tries PREFIX as a prefix for each program
  97.      it tries to run.  These programs are `cpp', `cc1', `as' and `ld'.
  98.  
  99.      For each subprogram to be run, the compiler driver first tries the
  100.      `-B' prefix, if any.  If that name is not found, or if `-B' was
  101.      not specified, the driver tries two standard prefixes, which are
  102.      `/usr/lib/gcc-' and `/usr/local/lib/gcc-'.  If neither of those
  103.      results in a file name that is found, the unmodified program name
  104.      is searched for using the directories specified in your `PATH'
  105.      environment variable.
  106.  
  107.      The run-time support file `gnulib' is also searched for using the
  108.      `-B' prefix, if needed.  If it is not found there, the two
  109.      standard prefixes above are tried, and that is all.  The file is
  110.      left out of the link if it is not found by those means.  Most of
  111.      the time, on most machines, you can do without it.
  112.  
  113.      You can get a similar result from the environment variable;
  114.      `GCC_EXEC_PREFIX' if it is defined, its value is used as a prefix
  115.      in the same way.  If both the `-B' option and the
  116.      `GCC_EXEC_PREFIX' variable are present, the `-B' option is used
  117.      first and the environment variable value second.
  118.  
  119. `-bPREFIX'
  120.      The argument PREFIX is used as a second prefix for the compiler
  121.      executables and libraries.  This prefix is optional: the compiler
  122.      tries each file first with it, then without it.  This prefix
  123.      follows the prefix specified with `-B' or the default prefixes.
  124.  
  125.      Thus, `-bvax- -Bcc/' in the presence of environment variable
  126.      `GCC_EXEC_PREFIX' with definition `/u/foo/' causes GNU CC to try
  127.      the following file names for the preprocessor executable:
  128.  
  129.           cc/vax-cpp
  130.           cc/cpp
  131.           /u/foo/vax-cpp
  132.           /u/foo/cpp
  133.           /usr/local/lib/gcc-vax-cpp
  134.           /usr/local/lib/gcc-cpp
  135.           /usr/lib/gcc-vax-cpp
  136.           /usr/lib/gcc-cpp
  137.  
  138.    These options control the details of C compilation itself.
  139.  
  140. `-ansi'
  141.      Support all ANSI standard C programs.
  142.  
  143.      This turns off certain features of GNU C that are incompatible with
  144.      ANSI C, such as the `asm', `inline' and `typeof' keywords, and
  145.      predefined macros such as `unix' and `vax' that identify the type
  146.      of system you are using.  It also enables the undesirable and
  147.      rarely used ANSI trigraph feature.
  148.  
  149.      The alternate keywords `__asm__', `__inline__' and `__typeof__'
  150.      continue to work despite `-ansi'.  You would not want to use them
  151.      in an ANSI C program, of course, but it useful to put them in
  152.      header files that might be included in compilations done with
  153.      `-ansi'.  Alternate predefined macros such as `__unix__' and
  154.      `__vax__' are also available, with or without `-ansi'.
  155.  
  156.      The `-ansi' option does not cause non-ANSI programs to be rejected
  157.      gratuitously.  For that, `-pedantic' is required in addition to
  158.      `-ansi'.
  159.  
  160.      The macro `__STRICT_ANSI__' is predefined when the `-ansi' option
  161.      is used.  Some header files may notice this macro and refrain from
  162.      declaring certain functions or defining certain macros that the
  163.      ANSI standard doesn't call for; this is to avoid interfering with
  164.      any programs that might use these names for other things.
  165.  
  166. `-traditional'
  167.      Attempt to support some aspects of traditional C compilers.
  168.      Specifically:
  169.  
  170.         * All `extern' declarations take effect globally even if they
  171.           are written inside of a function definition.  This includes
  172.           implicit declarations of functions.
  173.  
  174.         * The keywords `typeof', `inline', `signed', `const' and
  175.           `volatile' are not recognized.  (You can still use the
  176.           alternative keywords such as `__typeof__', `__inline__', and
  177.           so on.)
  178.  
  179.         * Comparisons between pointers and integers are always allowed.
  180.  
  181.         * Integer types `unsigned short' and `unsigned char' promote to
  182.           `unsigned int'.
  183.  
  184.         * Out-of-range floating point literals are not an error.
  185.  
  186.         * String "constants" are not necessarily constant; they are
  187.           stored in writable space, and identical looking constants are
  188.           allocated separately.
  189.  
  190.         * All automatic variables not declared `register' are preserved
  191.           by `longjmp'.  Ordinarily, GNU C follows ANSI C: automatic
  192.           variables not declared `volatile' may be clobbered.
  193.  
  194.         * In the preprocessor, comments convert to nothing at all,
  195.           rather than to a space.  This allows traditional token
  196.           concatenation.
  197.  
  198.         * In the preprocessor, macro arguments are recognized within
  199.           string constants in a macro definition (and their values are
  200.           stringified, though without additional quote marks, when they
  201.           appear in such a context).  The preprocessor always considers
  202.           a string constant to end at a newline.
  203.  
  204.         * The predefined macro `__STDC__' is not defined when you use
  205.           `-traditional', but `__GNUC__' is (since the GNU extensions
  206.           which `__GNUC__' indicates are not affected by
  207.           `-traditional').  If you need to write header files that work
  208.           differently depending on whether `-traditional' is in use, by
  209.           testing both of these predefined macros you can distinguish
  210.           four situations: GNU C, traditional GNU C, other ANSI C
  211.           compilers, and other old C compilers.
  212.  
  213. `-O'
  214.      Optimize.  Optimizing compilation takes somewhat more time, and a
  215.      lot more memory for a large function.
  216.  
  217.      Without `-O', the compiler's goal is to reduce the cost of
  218.      compilation and to make debugging produce the expected results.
  219.      Statements are independent: if you stop the program with a
  220.      breakpoint between statements, you can then assign a new value to
  221.      any variable or change the program counter to any other statement
  222.      in the function and get exactly the results you would expect from
  223.      the source code.
  224.  
  225.      Without `-O', only variables declared `register' are allocated in
  226.      registers.  The resulting compiled code is a little worse than
  227.      produced by PCC without `-O'.
  228.  
  229.      With `-O', the compiler tries to reduce code size and execution
  230.      time.
  231.  
  232.      Some of the `-f' options described below turn specific kinds of
  233.      optimization on or off.
  234.  
  235. `-g'
  236.      Produce debugging information in the operating system's native
  237.      format (for DBX or SDB).  GDB also can work with this debugging
  238.      information.
  239.  
  240.      Unlike most other C compilers, GNU CC allows you to use `-g' with
  241.      `-O'.  The shortcuts taken by optimized code may occasionally
  242.      produce surprising results: some variables you declared may not
  243.      exist at all; flow of control may briefly move where you did not
  244.      expect it; some statements may not be executed because they
  245.      compute constant results or their values were already at hand;
  246.      some statements may execute in different places because they were
  247.      moved out of loops. Nevertheless it proves possible to debug
  248.      optimized output.  This makes it reasonable to use the optimizer
  249.      for programs that might have bugs.
  250.  
  251. `-gg'
  252.      Produce debugging information in the old GDB format.  This is
  253.      obsolete.
  254.  
  255. `-w'
  256.      Inhibit all warning messages.
  257.  
  258. `-W'
  259.      Print extra warning messages for these events:
  260.  
  261.         * An automatic variable is used without first being initialized.
  262.  
  263.           These warnings are possible only in optimizing compilation,
  264.           because they require data flow information that is computed
  265.           only when optimizing.  If you don't specify `-O', you simply
  266.           won't get these warnings.
  267.  
  268.           These warnings occur only for variables that are candidates
  269.           for register allocation.  Therefore, they do not occur for a
  270.           variable that is declared `volatile', or whose address is
  271.           taken, or whose size is other than 1, 2, 4 or 8 bytes.  Also,
  272.           they do not occur for structures, unions or arrays, even when
  273.           they are in registers.
  274.  
  275.           Note that there may be no warning about a variable that is
  276.           used only to compute a value that itself is never used,
  277.           because such computations may be deleted by data flow
  278.           analysis before the warnings are printed.
  279.  
  280.           These warnings are made optional because GNU CC is not smart
  281.           enough to see all the reasons why the code might be correct
  282.           despite appearing to have an error.  Here is one example of
  283.           how this can happen:
  284.  
  285.                {
  286.                  int x;
  287.                  switch (y)
  288.                    {
  289.                    case 1: x = 1;
  290.                      break;
  291.                    case 2: x = 4;
  292.                      break;
  293.                    case 3: x = 5;
  294.                    }
  295.                  foo (x);
  296.                }
  297.  
  298.           If the value of `y' is always 1, 2 or 3, then `x' is always
  299.           initialized, but GNU CC doesn't know this.  Here is another
  300.           common case:
  301.  
  302.                {
  303.                  int save_y;
  304.                  if (change_y) save_y = y, y = new_y;
  305.                  ...
  306.                  if (change_y) y = save_y;
  307.                }
  308.  
  309.           This has no bug because `save_y' is used only if it is set.
  310.  
  311.           Some spurious warnings can be avoided if you declare as
  312.           `volatile' all the functions you use that never return. *Note
  313.           Function Attributes::.
  314.  
  315.         * A nonvolatile automatic variable might be changed by a call to
  316.           `longjmp'.  These warnings as well are possible only in
  317.           optimizing compilation.
  318.  
  319.           The compiler sees only the calls to `setjmp'.  It cannot know
  320.           where `longjmp' will be called; in fact, a signal handler
  321.           could call it at any point in the code.  As a result, you may
  322.           get a warning even when there is in fact no problem because
  323.           `longjmp' cannot in fact be called at the place which would
  324.           cause a problem.
  325.  
  326.         * A function can return either with or without a value. 
  327.           (Falling off the end of the function body is considered
  328.           returning without a value.)  For example, this function would
  329.           evoke such a warning:
  330.  
  331.                foo (a)
  332.                {
  333.                  if (a > 0)
  334.                    return a;
  335.                }
  336.  
  337.           Spurious warnings can occur because GNU CC does not realize
  338.           that certain functions (including `abort' and `longjmp') will
  339.           never return.
  340.  
  341.         * An expression-statement contains no side effects.
  342.  
  343.      In the future, other useful warnings may also be enabled by this
  344.      option.
  345.  
  346. `-Wimplicit'
  347.      Warn whenever a function is implicitly declared.
  348.  
  349. `-Wreturn-type'
  350.      Warn whenever a function is defined with a return-type that
  351.      defaults to `int'.  Also warn about any `return' statement with no
  352.      return-value in a function whose return-type is not `void'.
  353.  
  354. `-Wunused'
  355.      Warn whenever a local variable is unused aside from its
  356.      declaration, whenever a function is declared static but never
  357.      defined, and whenever a statement computes a result that is
  358.      explicitly not used.
  359.  
  360. `-Wswitch'
  361.      Warn whenever a `switch' statement has an index of enumeral type
  362.      and lacks a `case' for one or more of the named codes of that
  363.      enumeration.  (The presence of a `default' label prevents this
  364.      warning.)  `case' labels outside the enumeration range also
  365.      provoke warnings when this option is used.
  366.  
  367. `-Wcomment'
  368.      Warn whenever a comment-start sequence `/*' appears in a comment.
  369.  
  370. `-Wtrigraphs'
  371.      Warn if any trigraphs are encountered (assuming they are enabled).
  372.  
  373. `-Wall'
  374.      All of the above `-W' options combined.  These are all the options
  375.      which pertain to usage that we recommend avoiding and that we
  376.      believe is easy to avoid, even in conjunction with macros.
  377.  
  378.      The other `-W...' options below are not implied by `-Wall' because
  379.      certain kinds of useful macros are almost impossible to write
  380.      without causing those warnings.
  381.  
  382. `-Wshadow'
  383.      Warn whenever a local variable shadows another local variable.
  384.  
  385. `-Wid-clash-LEN'
  386.      Warn whenever two distinct identifiers match in the first LEN
  387.      characters.  This may help you prepare a program that will compile
  388.      with certain obsolete, brain-damaged compilers.
  389.  
  390. `-Wpointer-arith'
  391.      Warn about anything that depends on the "size of" a function type
  392.      or of `void'.  GNU C assigns these types a size of 1, for
  393.      convenience in calculations with `void *' pointers and pointers to
  394.      functions.
  395.  
  396. `-Wcast-qual'
  397.      Warn whenever a pointer is cast so as to remove a type qualifier
  398.      from the target type.  For example, warn if a `const char *' is
  399.      cast to an ordinary `char *'.
  400.  
  401. `-Wwrite-strings'
  402.      Give string constants the type `const char[LENGTH]' so that
  403.      copying the address of one into a non-`const' `char *' pointer
  404.      will get a warning.  These warnings will help you find at compile
  405.      time code that can try to write into a string constant, but only
  406.      if you have been very careful about using `const' in declarations
  407.      and prototypes.  Otherwise, it will just be a nuisance; this is
  408.      why we did not make `-Wall' request these warnings.
  409.  
  410. `-p'
  411.      Generate extra code to write profile information suitable for the
  412.      analysis program `prof'.
  413.  
  414. `-pg'
  415.      Generate extra code to write profile information suitable for the
  416.      analysis program `gprof'.
  417.  
  418. `-a'
  419.      Generate extra code to write profile information for basic blocks,
  420.      which will record the number of times each basic block is
  421.      executed.  This data could be analyzed by a program like `tcov'. 
  422.      Note, however, that the format of the data is not what `tcov'
  423.      expects.  Eventually GNU `gprof' should be extended to process
  424.      this data.
  425.  
  426. `-lLIBRARY'
  427.      Search a standard list of directories for a library named LIBRARY,
  428.      which is actually a file named `libLIBRARY.a'.  The linker uses
  429.      this file as if it had been specified precisely by name.
  430.  
  431.      The directories searched include several standard system
  432.      directories plus any that you specify with `-L'.
  433.  
  434.      Normally the files found this way are library files--archive files
  435.      whose members are object files.  The linker handles an archive
  436.      file by scanning through it for members which define symbols that
  437.      have so far been referenced but not defined.  But if the file that
  438.      is found is an ordinary object file, it is linked in the usual
  439.      fashion.  The only difference between using an `-l' option and
  440.      specifying a file name is that `-l' searches several directories.
  441.  
  442. `-LDIR'
  443.      Add directory DIR to the list of directories to be searched for
  444.      `-l'.
  445.  
  446. `-nostdlib'
  447.      Don't use the standard system libraries and startup files when
  448.      linking. Only the files you specify will be passed to the linker.
  449.  
  450. `-mMACHINESPEC'
  451.      Machine-dependent option specifying something about the type of
  452.      target machine.  These options are defined by the macro
  453.      `TARGET_SWITCHES' in the machine description.  The default for the
  454.      options is also defined by that macro, which enables you to change
  455.      the defaults.
  456.  
  457.      These are the `-m' options defined in the 68000 machine
  458.      description:
  459.  
  460.     `-m68020'
  461.     `-mc68020'
  462.           Generate output for a 68020 (rather than a 68000).  This is
  463.           the default if you use the unmodified sources.
  464.  
  465.     `-m68000'
  466.     `-mc68000'
  467.           Generate output for a 68000 (rather than a 68020).
  468.  
  469.     `-m68881'
  470.           Generate output containing 68881 instructions for floating
  471.           point. This is the default if you use the unmodified sources.
  472.  
  473.     `-mfpa'
  474.           Generate output containing Sun FPA instructions for floating
  475.           point.
  476.  
  477.     `-msoft-float'
  478.           Generate output containing library calls for floating point.
  479.  
  480.     `-mshort'
  481.           Consider type `int' to be 16 bits wide, like `short int'.
  482.  
  483.     `-mnobitfield'
  484.           Do not use the bit-field instructions.  `-m68000' implies
  485.           `-mnobitfield'.
  486.  
  487.     `-mbitfield'
  488.           Do use the bit-field instructions.  `-m68020' implies
  489.           `-mbitfield'.  This is the default if you use the unmodified
  490.           sources.
  491.  
  492.     `-mrtd'
  493.           Use a different function-calling convention, in which
  494.           functions that take a fixed number of arguments return with
  495.           the `rtd' instruction, which pops their arguments while
  496.           returning.  This saves one instruction in the caller since
  497.           there is no need to pop the arguments there.
  498.  
  499.           This calling convention is incompatible with the one normally
  500.           used on Unix, so you cannot use it if you need to call
  501.           libraries compiled with the Unix compiler.
  502.  
  503.           Also, you must provide function prototypes for all functions
  504.           that take variable numbers of arguments (including `printf');
  505.           otherwise incorrect code will be generated for calls to those
  506.           functions.
  507.  
  508.           In addition, seriously incorrect code will result if you call
  509.           a function with too many arguments.  (Normally, extra
  510.           arguments are harmlessly ignored.)
  511.  
  512.           The `rtd' instruction is supported by the 68010 and 68020
  513.           processors, but not by the 68000.
  514.  
  515.      These `-m' options are defined in the Vax machine description:
  516.  
  517.     `-munix'
  518.           Do not output certain jump instructions (`aobleq' and so on)
  519.           that the Unix assembler for the Vax cannot handle across long
  520.           ranges.
  521.  
  522.     `-mgnu'
  523.           Do output those jump instructions, on the assumption that you
  524.           will assemble with the GNU assembler.
  525.  
  526.     `-mg'
  527.           Output code for g-format floating point numbers instead of
  528.           d-format.
  529.  
  530.      These `-m' switches are supported on the Sparc:
  531.  
  532.     `-mfpu'
  533.           Generate output containing floating point instructions.  This
  534.           is the default if you use the unmodified sources.
  535.  
  536.     `-mno-epilogue'
  537.           Generate separate return instructions for `return' statements.
  538.           This has both advantages and disadvantages; I don't recall
  539.           what they are.
  540.  
  541.      These `-m' options are defined in the Convex machine description:
  542.  
  543.     `-mc1'
  544.           Generate output for a C1.  This is the default when the
  545.           compiler is configured for a C1.
  546.  
  547.     `-mc2'
  548.           Generate output for a C2.  This is the default when the
  549.           compiler is configured for a C2.
  550.  
  551.     `-margcount'
  552.           Generate code which puts an argument count in the word
  553.           preceding each argument list.  Some nonportable Convex and
  554.           Vax programs need this word.  (Debuggers don't; this info is
  555.           in the symbol table.)
  556.  
  557.     `-mnoargcount'
  558.           Omit the argument count word.  This is the default if you use
  559.           the unmodified sources.
  560.  
  561. `-fFLAG'
  562.      Specify machine-independent flags.  Most flags have both positive
  563.      and negative forms; the negative form of `-ffoo' would be
  564.      `-fno-foo'.  In the table below, only one of the forms is
  565.      listed--the one which is not the default.  You can figure out the
  566.      other form by either removing `no-' or adding it.
  567.  
  568.     `-fpcc-struct-return'
  569.           Use the same convention for returning `struct' and `union'
  570.           values that is used by the usual C compiler on your system. 
  571.           This convention is less efficient for small structures, and
  572.           on many machines it fails to be reentrant; but it has the
  573.           advantage of allowing intercallability between GCC-compiled
  574.           code and PCC-compiled code.
  575.  
  576.     `-ffloat-store'
  577.           Do not store floating-point variables in registers.  This
  578.           prevents undesirable excess precision on machines such as the
  579.           68000 where the floating registers (of the 68881) keep more
  580.           precision than a `double' is supposed to have.
  581.  
  582.           For most programs, the excess precision does only good, but a
  583.           few programs rely on the precise definition of IEEE floating
  584.           point. Use `-ffloat-store' for such programs.
  585.  
  586.     `-fno-asm'
  587.           Do not recognize `asm', `inline' or `typeof' as a keyword. 
  588.           These words may then be used as identifiers.  You can use
  589.           `__asm__', `__inline__' and `__typeof__' instead.
  590.  
  591.     `-fno-defer-pop'
  592.           Always pop the arguments to each function call as soon as that
  593.           function returns.  Normally the compiler (when optimizing)
  594.           lets arguments accumulate on the stack for several function
  595.           calls and pops them all at once.
  596.  
  597.     `-fstrength-reduce'
  598.           Perform the optimizations of loop strength reduction and
  599.           elimination of iteration variables.
  600.  
  601.     `-fcombine-regs'
  602.           Allow the combine pass to combine an instruction that copies
  603.           one register into another.  This might or might not produce
  604.           better code when used in addition to `-O'.  I am interested in
  605.           hearing about the difference this makes.
  606.  
  607.     `-fforce-mem'
  608.           Force memory operands to be copied into registers before doing
  609.           arithmetic on them.  This may produce better code by making
  610.           all memory references potential common subexpressions.  When
  611.           they are not common subexpressions, instruction combination
  612.           should eliminate the separate register-load.  I am interested
  613.           in hearing about the difference this makes.
  614.  
  615.     `-fforce-addr'
  616.           Force memory address constants to be copied into registers
  617.           before doing arithmetic on them.  This may produce better
  618.           code just as `-fforce-mem' may.  I am interested in hearing
  619.           about the difference this makes.
  620.  
  621.     `-fomit-frame-pointer'
  622.           Don't keep the frame pointer in a register for functions that
  623.           don't need one.  This avoids the instructions to save, set up
  624.           and restore frame pointers; it also makes an extra register
  625.           available in many functions.  *It also makes debugging
  626.           impossible.*
  627.  
  628.           On some machines, such as the Vax, this flag has no effect,
  629.           because the standard calling sequence automatically handles
  630.           the frame pointer and nothing is saved by pretending it
  631.           doesn't exist.  The machine-description macro
  632.           `FRAME_POINTER_REQUIRED' controls whether a target machine
  633.           supports this flag.  *Note Registers::.
  634.  
  635.     `-finline-functions'
  636.           Integrate all simple functions into their callers.  The
  637.           compiler heuristically decides which functions are simple
  638.           enough to be worth integrating in this way.
  639.  
  640.           If all calls to a given function are integrated, and the
  641.           function is declared `static', then the function is normally
  642.           not output as assembler code in its own right.
  643.  
  644.     `-fcaller-saves'
  645.           Enable values to be allocated in registers that will be
  646.           clobbered by function calls, by emitting extra instructions
  647.           to save and restore the registers around such calls.  Such
  648.           allocation is done only when it seems to result in better
  649.           code than would otherwise be produced.
  650.  
  651.           This option is enabled by default on certain machines,
  652.           usually those which have no call-preserved registers to use
  653.           instead.
  654.  
  655.           Don't use `-fcaller-saves' together with
  656.           `-fomit-frame-pointer'.  This combination does not work.
  657.  
  658.     `-fkeep-inline-functions'
  659.           Even if all calls to a given function are integrated, and the
  660.           function is declared `static', nevertheless output a separate
  661.           run-time callable version of the function.
  662.  
  663.     `-fwritable-strings'
  664.           Store string constants in the writable data segment and don't
  665.           uniquize them.  This is for compatibility with old programs
  666.           which assume they can write into string constants. 
  667.           `-traditional' also has this effect.
  668.  
  669.           Writing into string constants is a very bad idea; "constants"
  670.           should be constant.
  671.  
  672.     `-fcond-mismatch'
  673.           Allow conditional expressions with mismatched types in the
  674.           second and third arguments.  The value of such an expression
  675.           is void.
  676.  
  677.     `-fno-function-cse'
  678.           Do not put function addresses in registers; make each
  679.           instruction that calls a constant function contain the
  680.           function's address explicitly.
  681.  
  682.           This option results in less efficient code, but some strange
  683.           hacks that alter the assembler output may be confused by the
  684.           optimizations performed when this option is not used.
  685.  
  686.     `-fvolatile'
  687.           Consider all memory references through pointers to be
  688.           volatile.
  689.  
  690.     `-fshared-data'
  691.           Requests that the data and non-`const' variables of this
  692.           compilation be shared data rather than private data.  The
  693.           distinction makes sense only on certain operating systems,
  694.           where shared data is shared between processes running the
  695.           same program, while private data exists in one copy per
  696.           process.
  697.  
  698.     `-funsigned-char'
  699.           Let the type `char' be the unsigned, like `unsigned char'.
  700.  
  701.           Each kind of machine has a default for what `char' should be.
  702.            It is either like `unsigned char' by default or like `signed
  703.           char' by default.  (Actually, at present, the default is
  704.           always signed.)
  705.  
  706.           The type `char' is always a distinct type from either `signed
  707.           char' or `unsigned char', even though its behavior is always
  708.           just like one of those two.
  709.  
  710.           Note that this is equivalent to `-fno-signed-char', which is
  711.           the negative form of `-fsigned-char'.
  712.  
  713.     `-fsigned-char'
  714.           Let the type `char' be signed, like `signed char'.
  715.  
  716.           Note that this is equivalent to `-fno-unsigned-char', which is
  717.           the negative form of `-funsigned-char'.
  718.  
  719.     `-fdelayed-branch'
  720.           If supported for the target machine, attempt to reorder
  721.           instructions to exploit instruction slots available after
  722.           delayed branch instructions.
  723.  
  724.     `-ffixed-REG'
  725.           Treat the register named REG as a fixed register; generated
  726.           code should never refer to it (except perhaps as a stack
  727.           pointer, frame pointer or in some other fixed role).
  728.  
  729.           REG must be the name of a register.  The register names
  730.           accepted are machine-specific and are defined in the
  731.           `REGISTER_NAMES' macro in the machine description macro file.
  732.  
  733.           This flag does not have a negative form, because it specifies
  734.           a three-way choice.
  735.  
  736.     `-fcall-used-REG'
  737.           Treat the register named REG as an allocatable register that
  738.           is clobbered by function calls.  It may be allocated for
  739.           temporaries or variables that do not live across a call.
  740.           Functions compiled this way will not save and restore the
  741.           register REG.
  742.  
  743.           Use of this flag for a register that has a fixed pervasive
  744.           role in the machine's execution model, such as the stack
  745.           pointer or frame pointer, will produce disastrous results.
  746.  
  747.           This flag does not have a negative form, because it specifies
  748.           a three-way choice.
  749.  
  750.     `-fcall-saved-REG'
  751.           Treat the register named REG as an allocatable register saved
  752.           by functions.  It may be allocated even for temporaries or
  753.           variables that live across a call.  Functions compiled this
  754.           way will save and restore the register REG if they use it.
  755.  
  756.           Use of this flag for a register that has a fixed pervasive
  757.           role in the machine's execution model, such as the stack
  758.           pointer or frame pointer, will produce disastrous results.
  759.  
  760.           A different sort of disaster will result from the use of this
  761.           flag for a register in which function values may be returned.
  762.  
  763.           This flag does not have a negative form, because it specifies
  764.           a three-way choice.
  765.  
  766. `-dLETTERS'
  767.      Says to make debugging dumps at times specified by LETTERS. Here
  768.      are the possible letters:
  769.  
  770.     `r'
  771.           Dump after RTL generation.
  772.  
  773.     `j'
  774.           Dump after first jump optimization.
  775.  
  776.     `s'
  777.           Dump after CSE (including the jump optimization that sometimes
  778.           follows CSE).
  779.  
  780.     `L'
  781.           Dump after loop optimization.
  782.  
  783.     `f'
  784.           Dump after flow analysis.
  785.  
  786.     `c'
  787.           Dump after instruction combination.
  788.  
  789.     `l'
  790.           Dump after local register allocation.
  791.  
  792.     `g'
  793.           Dump after global register allocation.
  794.  
  795.     `d'
  796.           Dump after delayed branch scheduling.
  797.  
  798.     `J'
  799.           Dump after last jump optimization.
  800.  
  801.     `m'
  802.           Print statistics on memory usage, at the end of the run.
  803.  
  804. `-pedantic'
  805.      Issue all the warnings demanded by strict ANSI standard C; reject
  806.      all programs that use forbidden extensions.
  807.  
  808.      Valid ANSI standard C programs should compile properly with or
  809.      without this option (though a rare few will require `-ansi'). 
  810.      However, without this option, certain GNU extensions and
  811.      traditional C features are supported as well.  With this option,
  812.      they are rejected.  There is no reason to use this option; it
  813.      exists only to satisfy pedants.
  814.  
  815.      `-pedantic' does not cause warning messages for use of the
  816.      alternate keywords whose names begin and end with `__'. *Note
  817.      Alternate Keywords::.
  818.  
  819. `-static'
  820.      On Suns running version 4, this prevents linking with the shared
  821.      libraries.  (`-g' has the same effect.)
  822.  
  823.    These options control the C preprocessor, which is run on each C
  824. source file before actual compilation.  If you use the `-E' option,
  825. nothing is done except C preprocessing.  Some of these options make
  826. sense only together with `-E' because they request preprocessor output
  827. that is not suitable for actual compilation.
  828.  
  829. `-C'
  830.      Tell the preprocessor not to discard comments.  Used with the `-E'
  831.      option.
  832.  
  833. `-IDIR'
  834.      Search directory DIR for include files.
  835.  
  836. `-I-'
  837.      Any directories specified with `-I' options before the `-I-'
  838.      option are searched only for the case of `#include "FILE"'; they
  839.      are not searched for `#include <FILE>'.
  840.  
  841.      If additional directories are specified with `-I' options after
  842.      the `-I-', these directories are searched for all `#include'
  843.      directives.  (Ordinarily *all* `-I' directories are used this way.)
  844.  
  845.      In addition, the `-I-' option inhibits the use of the current
  846.      directory (where the current input file came from) as the first
  847.      search directory for `#include "FILE"'.  There is no way to
  848.      override this effect of `-I-'.  With `-I.' you can specify
  849.      searching the directory which was current when the compiler was
  850.      invoked.  That is not exactly the same as what the preprocessor
  851.      does by default, but it is often satisfactory.
  852.  
  853.      `-I-' does not inhibit the use of the standard system directories
  854.      for header files.  Thus, `-I-' and `-nostdinc' are independent.
  855.  
  856. `-i FILE'
  857.      Process FILE as input, discarding the resulting output, before
  858.      processing the regular input file.  Because the output generated
  859.      from FILE is discarded, the only effect of `-i FILE' is to make
  860.      the macros defined in FILE available for use in the main input.
  861.  
  862. `-nostdinc'
  863.      Do not search the standard system directories for header files. 
  864.      Only the directories you have specified with `-I' options (and the
  865.      current directory, if appropriate) are searched.
  866.  
  867.      Between `-nostdinc' and `-I-', you can eliminate all directories
  868.      from the search path except those you specify.
  869.  
  870. `-M'
  871.      Tell the preprocessor to output a rule suitable for `make'
  872.      describing the dependencies of each object file.  For each source
  873.      file, the preprocessor outputs one `make'-rule whose target is the
  874.      object file name for that source file and whose dependencies are
  875.      all the files `#include'd in it.  This rule may be a single line
  876.      or may be continued with `\'-newline if it is long.
  877.  
  878.      `-M' implies `-E'.
  879.  
  880. `-MM'
  881.      Like `-M' but the output mentions only the user-header files
  882.      included with `#include "FILE"'.  System header files included
  883.      with `#include <FILE>' are omitted.
  884.  
  885.      `-MM' implies `-E'.
  886.  
  887. `-DMACRO'
  888.      Define macro MACRO with the  string `1' as its definition.
  889.  
  890. `-DMACRO=DEFN'
  891.      Define macro MACRO as DEFN.
  892.  
  893. `-UMACRO'
  894.      Undefine macro MACRO.
  895.  
  896. `-trigraphs'
  897.      Support ANSI C trigraphs.  You don't want to know about this
  898.      brain-damage.  The `-ansi' option also has this effect.
  899.  
  900.