diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-17 05:56:15 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-05-17 05:56:15 +0000 |
commit | f259ef2dde37cdc1994ab89de4202de11db1758d (patch) | |
tree | fa16d409fa166f36caaced4b9b18b5c11655a10f /gcc/doc/invoke.texi | |
parent | f901aa342fec3c1daf7be7c1f6258571542389b1 (diff) | |
download | gcc-f259ef2dde37cdc1994ab89de4202de11db1758d.tar.gz |
2008-05-17 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r135459
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@135460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 103 |
1 files changed, 70 insertions, 33 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c1823997b2d..e515a0f191b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -195,7 +195,7 @@ in the following sections. -fvisibility-ms-compat @gol -Wabi -Wctor-dtor-privacy @gol -Wnon-virtual-dtor -Wreorder @gol --Weffc++ -Wno-deprecated -Wstrict-null-sentinel @gol +-Weffc++ -Wstrict-null-sentinel @gol -Wno-non-template-friend -Wold-style-cast @gol -Woverloaded-virtual -Wno-pmf-conversions @gol -Wsign-promo} @@ -230,8 +230,8 @@ Objective-C and Objective-C++ Dialects}. -w -Wextra -Wall -Waddress -Waggregate-return -Warray-bounds @gol -Wno-attributes -Wc++-compat -Wc++0x-compat -Wcast-align -Wcast-qual @gol -Wchar-subscripts -Wclobbered -Wcomment @gol --Wconversion -Wcoverage-mismatch -Wno-deprecated-declarations @gol --Wdisabled-optimization -Wno-div-by-zero @gol +-Wconversion -Wcoverage-mismatch -Wno-deprecated @gol +-Wno-deprecated-declarations -Wdisabled-optimization -Wno-div-by-zero @gol -Wempty-body -Wno-endif-labels @gol -Werror -Werror=* @gol -Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol @@ -276,6 +276,7 @@ Objective-C and Objective-C++ Dialects}. -fdump-noaddr -fdump-unnumbered -fdump-translation-unit@r{[}-@var{n}@r{]} @gol -fdump-class-hierarchy@r{[}-@var{n}@r{]} @gol -fdump-ipa-all -fdump-ipa-cgraph -fdump-ipa-inline @gol +-fdump-statistics @gol -fdump-tree-all @gol -fdump-tree-original@r{[}-@var{n}@r{]} @gol -fdump-tree-optimized@r{[}-@var{n}@r{]} @gol @@ -292,7 +293,6 @@ Objective-C and Objective-C++ Dialects}. -fdump-tree-nrv -fdump-tree-vect @gol -fdump-tree-sink @gol -fdump-tree-sra@r{[}-@var{n}@r{]} @gol --fdump-tree-salias @gol -fdump-tree-fre@r{[}-@var{n}@r{]} @gol -fdump-tree-vrp@r{[}-@var{n}@r{]} @gol -ftree-vectorizer-verbose=@var{n} @gol @@ -357,7 +357,7 @@ Objective-C and Objective-C++ Dialects}. -ftree-dominator-opts -ftree-dse -ftree-fre -ftree-loop-im @gol -ftree-loop-distribution @gol -ftree-loop-ivcanon -ftree-loop-linear -ftree-loop-optimize @gol --ftree-parallelize-loops=@var{n} -ftree-pre -ftree-reassoc -ftree-salias @gol +-ftree-parallelize-loops=@var{n} -ftree-pre -ftree-reassoc @gol -ftree-sink -ftree-sra -ftree-store-ccp -ftree-ter @gol -ftree-vect-loop-version -ftree-vectorize -ftree-vrp -funit-at-a-time @gol -funroll-all-loops -funroll-loops -funsafe-loop-optimizations @gol @@ -452,7 +452,7 @@ Objective-C and Objective-C++ Dialects}. -mno-id-shared-library -mshared-library-id=@var{n} @gol -mleaf-id-shared-library -mno-leaf-id-shared-library @gol -msep-data -mno-sep-data -mlong-calls -mno-long-calls @gol --mfast-fp -minline-plt} +-mfast-fp -minline-plt -mmulticore -mcorea -mcoreb -msdram} @emph{CRIS Options} @gccoptlist{-mcpu=@var{cpu} -march=@var{cpu} -mtune=@var{cpu} @gol @@ -2120,11 +2120,6 @@ When selecting this option, be aware that the standard library headers do not obey all of these guidelines; use @samp{grep -v} to filter out those warnings. -@item -Wno-deprecated @r{(C++ and Objective-C++ only)} -@opindex Wno-deprecated -@opindex Wdeprecated -Do not warn about usage of deprecated features. @xref{Deprecated Features}. - @item -Wstrict-null-sentinel @r{(C++ and Objective-C++ only)} @opindex Wstrict-null-sentinel @opindex Wno-strict-null-sentinel @@ -3552,7 +3547,14 @@ Warn whenever an object of larger than @var{len} bytes is defined. @item -Wframe-larger-than=@var{len} @opindex Wframe-larger-than -Warn whenever the size of a function frame is larger than @var{len} bytes. +Warn if the size of a function frame is larger than @var{len} bytes. +The computation done to determine the stack frame size is approximate +and not conservative. +The actual requirements may be somewhat greater than @var{len} +even if you do not get a warning. In addition, any space allocated +via @code{alloca}, variable-length arrays, or related constructs +is not included by the compiler when determining +whether or not to issue a warning. @item -Wunsafe-loop-optimizations @opindex Wunsafe-loop-optimizations @@ -3879,6 +3881,11 @@ confused with the digit 0, and so is not the default, but may be useful as a local coding convention if the programming environment is unable to be fixed to display these characters distinctly. +@item -Wno-deprecated +@opindex Wno-deprecated +@opindex Wdeprecated +Do not warn about usage of deprecated features. @xref{Deprecated Features}. + @item -Wno-deprecated-declarations @opindex Wno-deprecated-declarations @opindex Wdeprecated-declarations @@ -4718,6 +4725,15 @@ Dump after function inlining. @end table +@item -fdump-statistics-@var{option} +@opindex -fdump-statistics +Enable and control dumping of pass statistics in a separate file. The +file name is generated by appending a suffix ending in @samp{.statistics} +to the source file name. If the @samp{-@var{option}} form is used, +@samp{-stats} will cause counters to be summed over the whole compilation unit +while @samp{-details} will dump every event as the passes generate them. +The default with no option is to sum counters for each function compiled. + @item -fdump-tree-@var{switch} @itemx -fdump-tree-@var{switch}-@var{options} @opindex fdump-tree @@ -4755,8 +4771,11 @@ Enable showing virtual operands for every statement. Enable showing line numbers for statements. @item uid Enable showing the unique ID (@code{DECL_UID}) for each variable. +@item verbose +Enable showing the tree dump for each statement. @item all -Turn on all options, except @option{raw}, @option{slim} and @option{lineno}. +Turn on all options, except @option{raw}, @option{slim}, @option{verbose} +and @option{lineno}. @end table The following tree dumps are possible: @@ -4796,11 +4815,6 @@ appending @file{.ch} to the source file name. Dump SSA related information to a file. The file name is made by appending @file{.ssa} to the source file name. -@item salias -@opindex fdump-tree-salias -Dump structure aliasing variable information to a file. This file name -is made by appending @file{.salias} to the source file name. - @item alias @opindex fdump-tree-alias Dump aliasing information for each function. The file name is made by @@ -5784,11 +5798,6 @@ Perform copy propagation on trees. This pass eliminates unnecessary copy operations. This flag is enabled by default at @option{-O} and higher. -@item -ftree-salias -@opindex ftree-salias -Perform structural alias analysis on trees. This flag -is enabled by default at @option{-O} and higher. - @item -fipa-pure-const @opindex fipa-pure-const Discover which functions are pure or constant. @@ -6792,15 +6801,6 @@ In each case, the @var{value} is an integer. The allowable choices for @var{name} are given in the following table: @table @gcctabopt -@item salias-max-implicit-fields -The maximum number of fields in a variable without direct -structure accesses for which structure aliasing will consider trying -to track each field. The default is 5 - -@item salias-max-array-elements -The maximum number of elements an array can have and its elements -still be tracked individually by structure aliasing. The default is 4 - @item sra-max-structure-size The maximum structure size, in bytes, at which the scalar replacement of aggregates (SRA) optimization will perform block copies. The @@ -8984,8 +8984,45 @@ Not-a-Number (NAN), in the interest of performance. @opindex minline-plt Enable inlining of PLT entries in function calls to functions that are not known to bind locally. It has no effect without @option{-mfdpic}. -@end table +@item -mmulticore +@opindex mmulticore +Build standalone application for multicore Blackfin processor. Proper +start files and link scripts will be used to support multicore. +This option defines @code{__BFIN_MULTICORE}. It can only be used with +@option{-mcpu=bf561@r{[}-@var{sirevision}@r{]}}. It can be used with +@option{-mcorea} or @option{-mcoreb}. If it's used without +@option{-mcorea} or @option{-mcoreb}, single application/dual core +programming model is used. In this model, the main function of Core B +should be named as coreb_main. If it's used with @option{-mcorea} or +@option{-mcoreb}, one application per core programming model is used. +If this option is not used, single core application programming +model is used. + +@item -mcorea +@opindex mcorea +Build standalone application for Core A of BF561 when using +one application per core programming model. Proper start files +and link scripts will be used to support Core A. This option +defines @code{__BFIN_COREA}. It must be used with @option{-mmulticore}. + +@item -mcoreb +@opindex mcoreb +Build standalone application for Core B of BF561 when using +one application per core programming model. Proper start files +and link scripts will be used to support Core B. This option +defines @code{__BFIN_COREB}. When this option is used, coreb_main +should be used instead of main. It must be used with +@option{-mmulticore}. + +@item -msdram +@opindex msdram +Build standalone application for SDRAM. Proper start files and +link scripts will be used to put the application into SDRAM. +Loader should initialize SDRAM before loading the application +into SDRAM. This option defines @code{__BFIN_SDRAM}. +@end table + @node CRIS Options @subsection CRIS Options @cindex CRIS Options |