This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [DOCPATCH] Last round for the gccoptlist's patch for 3.3


On Thu, 17 Apr 2003, James A Morrison wrote:
>  This patch is all the changes I have against the 3.3 branch for
> invoke.texi.

Sorry for the delay, but such huge patches really are tough to review
in detail (and I'd advise to proceed with separate patches for separate
issues).

> I haven't realphabetized the Darwin options on mainline yet, but I can
> get to that after easter.

Please!  Usually patches have to go to mainline first, and only then to
a release branch.

> 2003-04-17  James A Morrison  <ja2morri at uwaterloo dot ca>
>
> 	* invoke.texi Eliminate extra white-space caused by
> 	@gccoptlist{ on its own line.
> 	Re-wrapped option lines that were too wide.
> 	Added @gol to options that didn't have them.
> 	Ensured there are two spaces between each option.
> 	(Dariwn Options): Realphabetize the list. Put all the Mac OS
> 	linker options in a @gccoptlist.

I fixed the ChangeLog entry as follows and committed the part of your
patch which is included below.

  2003-04-23  James A Morrison  <ja2morri at uwaterloo dot ca>

	* invoke.texi: Eliminate extra white-space caused by @gccoptlist{
	on its own line.
	Ensure there are two spaces between each pair of options and add
	@gol where appropriate.

Note that your original submission has an error in the Darwin part
(a duplicate option, but I have the print out at work) and contained
one or two changes you didn't mention.

Also, for new stuff, how about having one command-line option per line
of texi source?  (This applies to the part where you introduced a new
@gccoptlist.)

Thanks for this cleanup! If you have any further changes to mainline
and/or the 3.3-branch, please send the mainline variant first, ideally
acompanied by a patch for the branch that applies on top of the mainline
patch (ignoring any rejects I might get when applying the former on the
branch).

(In case you wonder, this avoid quite a bit of duplicate review work. ;-) )

Thanks,
Gerald

Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.209.2.25
diff -u -3 -p -r1.209.2.25 invoke.texi
--- doc/invoke.texi	17 Apr 2003 07:35:12 -0000	1.209.2.25
+++ doc/invoke.texi	23 Apr 2003 21:36:06 -0000
@@ -154,15 +154,13 @@ in the following sections.
 @table @emph
 @item Overall Options
 @xref{Overall Options,,Options Controlling the Kind of Output}.
- at gccoptlist{
--c  -S  -E  -o @var{file}  -pipe  -pass-exit-codes  -x @var{language} @gol
--v  -###  --help  --target-help  --version}
+ at gccoptlist{-c  -S  -E  -o @var{file}  -pipe  -pass-exit-codes  @gol
+-x @var{language}  -v  -###  --help  --target-help  --version}

 @item C Language Options
 @xref{C Dialect Options,,Options Controlling C Dialect}.
- at gccoptlist{
--ansi  -std= at var{standard}  -aux-info @var{filename} @gol
--fno-asm  -fno-builtin -fno-builtin- at var{function} @gol
+ at gccoptlist{-ansi  -std= at var{standard}  -aux-info @var{filename} @gol
+-fno-asm  -fno-builtin  -fno-builtin- at var{function} @gol
 -fhosted  -ffreestanding  -fms-extensions @gol
 -trigraphs  -no-integrated-cpp  -traditional  -traditional-cpp @gol
 -fallow-single-precision  -fcond-mismatch @gol
@@ -172,9 +170,8 @@ in the following sections.

 @item C++ Language Options
 @xref{C++ Dialect Options,,Options Controlling C++ Dialect}.
- at gccoptlist{
--fabi-version= at var{n} -fno-access-control  -fcheck-new @gol
--fconserve-space -fno-const-strings  -fdollars-in-identifiers @gol
+ at gccoptlist{-fabi-version=@var{n}  -fno-access-control  -fcheck-new @gol
+-fconserve-space  -fno-const-strings  -fdollars-in-identifiers @gol
 -fno-elide-constructors @gol
 -fno-enforce-eh-specs  -fexternal-templates @gol
 -falt-external-templates @gol
@@ -186,7 +183,7 @@ in the following sections.
 -fno-optional-diags  -fpermissive @gol
 -frepo  -fno-rtti  -fstats  -ftemplate-depth- at var{n} @gol
 -fuse-cxa-atexit  -fvtable-gc  -fno-weak  -nostdinc++ @gol
--fno-default-inline -Wabi -Wctor-dtor-privacy @gol
+-fno-default-inline  -Wabi  -Wctor-dtor-privacy @gol
 -Wnon-virtual-dtor  -Wreorder @gol
 -Weffc++  -Wno-deprecated @gol
 -Wno-non-template-friend  -Wold-style-cast @gol
@@ -195,22 +192,19 @@ in the following sections.

 @item Objective-C Language Options
 @xref{Objective-C Dialect Options,,Options Controlling Objective-C Dialect}.
- at gccoptlist{
--fconstant-string-class= at var{class-name} @gol
+ at gccoptlist{-fconstant-string-class=@var{class-name} @gol
 -fgnu-runtime  -fnext-runtime  -gen-decls @gol
--Wno-protocol  -Wselector -Wundeclared-selector}
+-Wno-protocol  -Wselector  -Wundeclared-selector}

 @item Language Independent Options
 @xref{Language Independent Options,,Options to Control Diagnostic Messages Formatting}.
- at gccoptlist{
--fmessage-length= at var{n}  @gol
+ at gccoptlist{-fmessage-length=@var{n} @gol
 -fdiagnostics-show-location= at r{[}once@r{|}every-line at r{]}}

 @item Warning Options
 @xref{Warning Options,,Options to Request or Suppress Warnings}.
- at gccoptlist{
--fsyntax-only  -pedantic  -pedantic-errors @gol
--w  -W  -Wall -Waggregate-return @gol
+ at gccoptlist{-fsyntax-only  -pedantic  -pedantic-errors @gol
+-w  -W  -Wall  -Waggregate-return @gol
 -Wcast-align  -Wcast-qual  -Wchar-subscripts  -Wcomment @gol
 -Wconversion  -Wno-deprecated-declarations @gol
 -Wdisabled-optimization  -Wno-div-by-zero  -Werror @gol
@@ -219,7 +213,7 @@ in the following sections.
 -Wimplicit  -Wimplicit-int  @gol
 -Wimplicit-function-declaration @gol
 -Werror-implicit-function-declaration @gol
--Wimport  -Winline -Wno-endif-labels @gol
+-Wimport  -Winline  -Wno-endif-labels @gol
 -Wlarger-than- at var{len}  -Wlong-long @gol
 -Wmain  -Wmissing-braces @gol
 -Wmissing-format-attribute  -Wmissing-noreturn @gol
@@ -228,25 +222,24 @@ in the following sections.
 -Wparentheses  -Wpointer-arith  -Wredundant-decls @gol
 -Wreturn-type  -Wsequence-point  -Wshadow @gol
 -Wsign-compare  -Wstrict-aliasing @gol
--Wswitch  -Wswitch-default -Wswitch-enum @gol
--Wsystem-headers -Wtrigraphs  -Wundef  -Wuninitialized @gol
+-Wswitch  -Wswitch-default  -Wswitch-enum @gol
+-Wsystem-headers  -Wtrigraphs  -Wundef  -Wuninitialized @gol
 -Wunknown-pragmas  -Wunreachable-code @gol
 -Wunused  -Wunused-function  -Wunused-label  -Wunused-parameter @gol
 -Wunused-value  -Wunused-variable  -Wwrite-strings}

 @item C-only Warning Options
- at gccoptlist{
--Wbad-function-cast  -Wmissing-declarations @gol
+ at gccoptlist{-Wbad-function-cast  -Wmissing-declarations @gol
 -Wmissing-prototypes  -Wnested-externs @gol
 -Wstrict-prototypes  -Wtraditional}

 @item Debugging Options
 @xref{Debugging Options,,Options for Debugging Your Program or GCC}.
- at gccoptlist{
--d at var{letters}  -dumpspecs  -dumpmachine  -dumpversion @gol
--fdump-unnumbered -fdump-translation-unit at r{[}-@var{n} at r{]} @gol
+ at gccoptlist{-d@var{letters}  -dumpspecs  -dumpmachine  -dumpversion @gol
+-fdump-unnumbered  -fdump-translation-unit at r{[}-@var{n} at r{]} @gol
 -fdump-class-hierarchy at r{[}-@var{n} at r{]} @gol
--fdump-tree-original at r{[}-@var{n} at r{]} -fdump-tree-optimized at r{[}-@var{n} at r{]} @gol
+-fdump-tree-original at r{[}-@var{n} at r{]}  @gol
+-fdump-tree-optimized at r{[}-@var{n} at r{]} @gol
 -fdump-tree-inlined at r{[}-@var{n} at r{]} @gol
 -feliminate-dwarf2-dups  -fmem-report @gol
 -fprofile-arcs  -fsched-verbose= at var{n} @gol
@@ -260,42 +253,41 @@ in the following sections.

 @item Optimization Options
 @xref{Optimize Options,,Options that Control Optimization}.
- at gccoptlist{
--falign-functions= at var{n}  -falign-jumps= at var{n} @gol
+ at gccoptlist{-falign-functions=@var{n}  -falign-jumps= at var{n} @gol
 -falign-labels= at var{n}  -falign-loops= at var{n}  @gol
--fbranch-probabilities  -fcaller-saves -fcprop-registers @gol
+-fbranch-probabilities  -fcaller-saves  -fcprop-registers @gol
 -fcse-follow-jumps  -fcse-skip-blocks  -fdata-sections @gol
 -fdelayed-branch  -fdelete-null-pointer-checks @gol
 -fexpensive-optimizations  -ffast-math  -ffloat-store @gol
 -fforce-addr  -fforce-mem  -ffunction-sections @gol
--fgcse  -fgcse-lm  -fgcse-sm -floop-optimize -fcrossjumping @gol
--fif-conversion -fif-conversion2 @gol
+-fgcse  -fgcse-lm  -fgcse-sm  -floop-optimize  -fcrossjumping @gol
+-fif-conversion  -fif-conversion2 @gol
 -finline-functions  -finline-limit= at var{n}  -fkeep-inline-functions @gol
 -fkeep-static-consts  -fmerge-constants  -fmerge-all-constants @gol
 -fmove-all-movables  -fnew-ra  -fno-branch-count-reg @gol
 -fno-default-inline  -fno-defer-pop @gol
 -fno-function-cse  -fno-guess-branch-probability @gol
 -fno-inline  -fno-math-errno  -fno-peephole  -fno-peephole2 @gol
--funsafe-math-optimizations -ffinite-math-only @gol
--fno-trapping-math -fno-zero-initialized-in-bss @gol
+-funsafe-math-optimizations  -ffinite-math-only @gol
+-fno-trapping-math  -fno-zero-initialized-in-bss @gol
 -fomit-frame-pointer  -foptimize-register-move @gol
 -foptimize-sibling-calls  -fprefetch-loop-arrays @gol
--freduce-all-givs -fregmove  -frename-registers @gol
--freorder-blocks -freorder-functions @gol
+-freduce-all-givs  -fregmove  -frename-registers @gol
+-freorder-blocks  -freorder-functions @gol
 -frerun-cse-after-loop  -frerun-loop-opt @gol
 -fschedule-insns  -fschedule-insns2 @gol
 -fno-sched-interblock  -fno-sched-spec  -fsched-spec-load @gol
 -fsched-spec-load-dangerous  -fsignaling-nans @gol
--fsingle-precision-constant  -fssa -fssa-ccp -fssa-dce @gol
--fstrength-reduce  -fstrict-aliasing  -ftracer -fthread-jumps @gol
+-fsingle-precision-constant  -fssa  -fssa-ccp  -fssa-dce @gol
+-fstrength-reduce  -fstrict-aliasing  -ftracer  -fthread-jumps @gol
 -funroll-all-loops  -funroll-loops  @gol
---param @var{name}= at var{value}
+--param @var{name}= at var{value} @gol
 -O  -O0  -O1  -O2  -O3  -Os}

 @item Preprocessor Options
 @xref{Preprocessor Options,,Options Controlling the Preprocessor}.
- at gccoptlist{
--$  -A at var{question}=@var{answer}  -A- at var{question}@r{[}= at var{answer}@r{]} @gol
+ at gccoptlist{-$  -A at var{question}=@var{answer} @gol
+-A- at var{question}@r{[}= at var{answer}@r{]} @gol
 -C  -dD  -dI  -dM  -dN @gol
 -D at var{macro}@r{[}= at var{defn}@r{]}  -E  -H @gol
 -idirafter @var{dir} @gol
@@ -307,13 +299,11 @@ in the following sections.

 @item Assembler Option
 @xref{Assembler Options,,Passing Options to the Assembler}.
- at gccoptlist{
--Wa,@var{option}}
+ at gccoptlist{-Wa,@var{option}}

 @item Linker Options
 @xref{Link Options,,Options for Linking}.
- at gccoptlist{
- at var{object-file-name}  -l at var{library} @gol
+ at gccoptlist{@var{object-file-name}  -l at var{library} @gol
 -nostartfiles  -nodefaultlibs  -nostdlib @gol
 -s  -static  -static-libgcc  -shared  -shared-libgcc  -symbolic @gol
 -Wl,@var{option}  -Xlinker @var{option} @gol
@@ -321,38 +311,32 @@ in the following sections.

 @item Directory Options
 @xref{Directory Options,,Options for Directory Search}.
- at gccoptlist{
--B at var{prefix}  -I at var{dir}  -I-  -L at var{dir}  -specs= at var{file}}
+ at gccoptlist{-B@var{prefix}  -I at var{dir}  -I-  -L at var{dir}  -specs= at var{file}}

 @item Target Options
 @c I wrote this xref this way to avoid overfull hbox. -- rms
 @xref{Target Options}.
- at gccoptlist{
--V @var{version} -b @var{machine}}
+ at gccoptlist{-V @var{version}  -b @var{machine}}

 @item Machine Dependent Options
 @xref{Submodel Options,,Hardware Models and Configurations}.

 @emph{M680x0 Options}
- at gccoptlist{
--m68000  -m68020  -m68020-40  -m68020-60  -m68030  -m68040 @gol
+ at gccoptlist{-m68000  -m68020  -m68020-40  -m68020-60  -m68030  -m68040 @gol
 -m68060  -mcpu32  -m5200  -m68881  -mbitfield  -mc68000  -mc68020   @gol
 -mfpa  -mnobitfield  -mrtd  -mshort  -msoft-float  -mpcrel @gol
 -malign-int  -mstrict-align}

 @emph{M68hc1x Options}
- at gccoptlist{
--m6811  -m6812  -m68hc11  -m68hc12  -m68hcs12 @gol
+ at gccoptlist{-m6811  -m6812  -m68hc11  -m68hc12  -m68hcs12 @gol
 -mauto-incdec  -minmax  -mlong-calls  -mshort @gol
 -msoft-reg-count= at var{count}}

 @emph{VAX Options}
- at gccoptlist{
--mg  -mgnu  -munix}
+ at gccoptlist{-mg  -mgnu  -munix}

 @emph{SPARC Options}
- at gccoptlist{
--mcpu= at var{cpu-type} @gol
+ at gccoptlist{-mcpu=@var{cpu-type} @gol
 -mtune= at var{cpu-type} @gol
 -mcmodel= at var{code-model} @gol
 -m32  -m64 @gol
@@ -366,8 +350,7 @@ in the following sections.
 -msupersparc  -munaligned-doubles  -mv8}

 @emph{ARM Options}
- at gccoptlist{
--mapcs-frame  -mno-apcs-frame @gol
+ at gccoptlist{-mapcs-frame  -mno-apcs-frame @gol
 -mapcs-26  -mapcs-32 @gol
 -mapcs-stack-check  -mno-apcs-stack-check @gol
 -mapcs-float  -mno-apcs-float @gol
@@ -387,26 +370,22 @@ in the following sections.
 -mpoke-function-name @gol
 -mthumb  -marm @gol
 -mtpcs-frame  -mtpcs-leaf-frame @gol
--mcaller-super-interworking  -mcallee-super-interworking }
+-mcaller-super-interworking  -mcallee-super-interworking}

 @emph{MN10200 Options}
- at gccoptlist{
--mrelax}
+ at gccoptlist{-mrelax}

 @emph{MN10300 Options}
- at gccoptlist{
--mmult-bug  -mno-mult-bug @gol
+ at gccoptlist{-mmult-bug  -mno-mult-bug @gol
 -mam33  -mno-am33 @gol
 -mno-crt0  -mrelax}

 @emph{M32R/D Options}
- at gccoptlist{
--m32rx -m32r -mcode-model= at var{model-type}  -msdata= at var{sdata-type} @gol
--G @var{num}}
+ at gccoptlist{-m32rx  -m32r  -mcode-model= at var{model-type} @gol
+-msdata= at var{sdata-type}  -G @var{num}}

 @emph{M88K Options}
- at gccoptlist{
--m88000  -m88100  -m88110  -mbig-pic @gol
+ at gccoptlist{-m88000  -m88100  -m88110  -mbig-pic @gol
 -mcheck-zero-division  -mhandle-large-shift @gol
 -midentify-revision  -mno-check-zero-division @gol
 -mno-ocs-debug-info  -mno-ocs-frame-position @gol
@@ -418,12 +397,11 @@ in the following sections.
 -mversion-03.00  -mwarn-passed-structs}

 @emph{RS/6000 and PowerPC Options}
- at gccoptlist{
--mcpu= at var{cpu-type} @gol
+ at gccoptlist{-mcpu=@var{cpu-type} @gol
 -mtune= at var{cpu-type} @gol
 -mpower  -mno-power  -mpower2  -mno-power2 @gol
 -mpowerpc  -mpowerpc64  -mno-powerpc @gol
--maltivec -mno-altivec @gol
+-maltivec  -mno-altivec @gol
 -mpowerpc-gpopt  -mno-powerpc-gpopt @gol
 -mpowerpc-gfxopt  -mno-powerpc-gfxopt @gol
 -mnew-mnemonics  -mold-mnemonics @gol
@@ -434,15 +412,15 @@ in the following sections.
 -mfused-madd  -mno-fused-madd  -mbit-align  -mno-bit-align @gol
 -mstrict-align  -mno-strict-align  -mrelocatable @gol
 -mno-relocatable  -mrelocatable-lib  -mno-relocatable-lib @gol
--mtoc  -mno-toc -mlittle  -mlittle-endian  -mbig  -mbig-endian @gol
--mcall-aix -mcall-sysv -mcall-netbsd @gol
--maix-struct-return -msvr4-struct-return @gol
--mabi=altivec -mabi=no-altivec @gol
--mabi=spe -mabi=no-spe @gol
--misel=yes -misel=no @gol
+-mtoc  -mno-toc  -mlittle  -mlittle-endian  -mbig  -mbig-endian @gol
+-mcall-aix  -mcall-sysv  -mcall-netbsd @gol
+-maix-struct-return  -msvr4-struct-return @gol
+-mabi=altivec  -mabi=no-altivec @gol
+-mabi=spe  -mabi=no-spe @gol
+-misel=yes  -misel=no @gol
 -mprototype  -mno-prototype @gol
--msim  -mmvme  -mads  -myellowknife  -memb -msdata @gol
--msdata= at var{opt}  -mvxworks -mwindiss -G @var{num} -pthread}
+-msim  -mmvme  -mads  -myellowknife  -memb  -msdata @gol
+-msdata= at var{opt}  -mvxworks  -mwindiss  -G @var{num}  -pthread}

 @emph{Darwin Options}
 @gccoptlist{
@@ -467,15 +445,13 @@ in the following sections.
 -unexported_symbols_list -weak_reference_mismatches -whatsloaded}

 @emph{RT Options}
- at gccoptlist{
--mcall-lib-mul  -mfp-arg-in-fpregs  -mfp-arg-in-gregs @gol
+ at gccoptlist{-mcall-lib-mul  -mfp-arg-in-fpregs  -mfp-arg-in-gregs @gol
 -mfull-fp-blocks  -mhc-struct-return  -min-line-mul @gol
 -mminimum-fp-blocks  -mnohc-struct-return}

 @emph{MIPS Options}
- at gccoptlist{
--mabicalls -march= at var{cpu-type} -mtune= at var{cpu=type} @gol
--mcpu= at var{cpu-type} -membedded-data  -muninit-const-in-rodata @gol
+ at gccoptlist{-mabicalls  -march= at var{cpu-type}  -mtune= at var{cpu=type} @gol
+-mcpu= at var{cpu-type}  -membedded-data  -muninit-const-in-rodata @gol
 -membedded-pic  -mfp32  -mfp64  -mfused-madd  -mno-fused-madd @gol
 -mgas  -mgp32  -mgp64 @gol
 -mgpopt  -mhalf-pic  -mhard-float  -mint64  -mips1 @gol
@@ -488,30 +464,28 @@ in the following sections.
 -m4650  -msingle-float  -mmad @gol
 -mstats  -EL  -EB  -G @var{num}  -nocpp @gol
 -mabi=32  -mabi=n32  -mabi=64  -mabi=eabi @gol
--mfix7000  -mno-crt0 -mflush-func= at var{func} -mno-flush-func @gol
--mbranch-likely -mno-branch-likely}
+-mfix7000  -mno-crt0  -mflush-func= at var{func}  -mno-flush-func @gol
+-mbranch-likely  -mno-branch-likely}

 @emph{i386 and x86-64 Options}
- at gccoptlist{
--mcpu= at var{cpu-type}  -march= at var{cpu-type} -mfpmath= at var{unit} @gol
--masm= at var{dialect}  -mno-fancy-math-387 @gol
+ at gccoptlist{-mcpu=@var{cpu-type}  -march= at var{cpu-type}  @gol
+-mfpmath= at var{unit}  -masm= at var{dialect}  -mno-fancy-math-387 @gol
 -mno-fp-ret-in-387  -msoft-float  -msvr3-shlib @gol
 -mno-wide-multiply  -mrtd  -malign-double @gol
 -mpreferred-stack-boundary= at var{num} @gol
--mmmx  -msse -msse2 -m3dnow @gol
+-mmmx  -msse  -msse2  -m3dnow @gol
 -mthreads  -mno-align-stringops  -minline-all-stringops @gol
 -mpush-args  -maccumulate-outgoing-args  -m128bit-long-double @gol
 -m96bit-long-double  -mregparm= at var{num}  -momit-leaf-frame-pointer @gol
 -mno-red-zone at gol
 -mcmodel= at var{code-model} @gol
--m32 -m64}
+-m32  -m64}

 @emph{HPPA Options}
- at gccoptlist{
--march= at var{architecture-type} @gol
+ at gccoptlist{-march=@var{architecture-type} @gol
 -mbig-switch  -mdisable-fpregs  -mdisable-indexing @gol
--mfast-indirect-calls  -mgas  -mgnu-ld -mhp-ld @gol
--mjump-in-delay -mlinker-opt -mlong-calls @gol
+-mfast-indirect-calls  -mgas  -mgnu-ld  -mhp-ld @gol
+-mjump-in-delay  -mlinker-opt  -mlong-calls @gol
 -mlong-load-store  -mno-big-switch  -mno-disable-fpregs @gol
 -mno-disable-indexing  -mno-fast-indirect-calls  -mno-gas @gol
 -mno-jump-in-delay  -mno-long-load-store @gol
@@ -522,8 +496,7 @@ in the following sections.
 -nolibdld  -static  -threads}

 @emph{Intel 960 Options}
- at gccoptlist{
--m at var{cpu-type}  -masm-compat  -mclean-linkage @gol
+ at gccoptlist{-m@var{cpu-type}  -masm-compat  -mclean-linkage @gol
 -mcode-align  -mcomplex-addr  -mleaf-procedures @gol
 -mic-compat  -mic2.0-compat  -mic3.0-compat @gol
 -mintel-asm  -mno-clean-linkage  -mno-code-align @gol
@@ -533,8 +506,7 @@ in the following sections.
 -mtail-call}

 @emph{DEC Alpha Options}
- at gccoptlist{
--mno-fp-regs  -msoft-float  -malpha-as  -mgas @gol
+ at gccoptlist{-mno-fp-regs  -msoft-float  -malpha-as  -mgas @gol
 -mieee  -mieee-with-inexact  -mieee-conformant @gol
 -mfp-trap-mode= at var{mode}  -mfp-rounding-mode= at var{mode} @gol
 -mtrap-precision= at var{mode}  -mbuild-constants @gol
@@ -545,111 +517,96 @@ in the following sections.
 -mmemory-latency= at var{time}}

 @emph{DEC Alpha/VMS Options}
- at gccoptlist{
--mvms-return-codes}
+ at gccoptlist{-mvms-return-codes}

 @emph{H8/300 Options}
- at gccoptlist{
--mrelax  -mh  -ms  -mn  -mint32  -malign-300}
+ at gccoptlist{-mrelax  -mh  -ms  -mn  -mint32  -malign-300}

 @emph{SH Options}
- at gccoptlist{
--m1  -m2  -m3  -m3e @gol
+ at gccoptlist{-m1  -m2  -m3  -m3e @gol
 -m4-nofpu  -m4-single-only  -m4-single  -m4 @gol
--m5-64media -m5-64media-nofpu @gol
--m5-32media -m5-32media-nofpu @gol
--m5-compact -m5-compact-nofpu @gol
+-m5-64media  -m5-64media-nofpu @gol
+-m5-32media  -m5-32media-nofpu @gol
+-m5-compact  -m5-compact-nofpu @gol
 -mb  -ml  -mdalign  -mrelax @gol
 -mbigtable  -mfmovd  -mhitachi  -mnomacsave @gol
 -mieee  -misize  -mpadstruct  -mspace @gol
 -mprefergot  -musermode}

 @emph{System V Options}
- at gccoptlist{
--Qy  -Qn  -YP,@var{paths}  -Ym,@var{dir}}
+ at gccoptlist{-Qy  -Qn  -YP,@var{paths}  -Ym,@var{dir}}

 @emph{ARC Options}
- at gccoptlist{
--EB  -EL @gol
+ at gccoptlist{-EB  -EL @gol
 -mmangle-cpu  -mcpu= at var{cpu}  -mtext= at var{text-section} @gol
 -mdata= at var{data-section}  -mrodata= at var{readonly-data-section}}

 @emph{TMS320C3x/C4x Options}
- at gccoptlist{
--mcpu= at var{cpu}  -mbig  -msmall  -mregparm  -mmemparm @gol
+ at gccoptlist{-mcpu=@var{cpu}  -mbig  -msmall  -mregparm  -mmemparm @gol
 -mfast-fix  -mmpyi  -mbk  -mti  -mdp-isr-reload @gol
 -mrpts= at var{count}  -mrptb  -mdb  -mloop-unsigned @gol
 -mparallel-insns  -mparallel-mpy  -mpreserve-float}

 @emph{V850 Options}
- at gccoptlist{
--mlong-calls  -mno-long-calls  -mep  -mno-ep @gol
+ at gccoptlist{-mlong-calls  -mno-long-calls  -mep  -mno-ep @gol
 -mprolog-function  -mno-prolog-function  -mspace @gol
 -mtda= at var{n}  -msda= at var{n}  -mzda= at var{n} @gol
--mapp-regs -mno-app-regs @gol
--mdisable-callt -mno-disable-callt @gol
+-mapp-regs  -mno-app-regs @gol
+-mdisable-callt  -mno-disable-callt @gol
 -mv850e @gol
 -mv850  -mbig-switch}

 @emph{NS32K Options}
- at gccoptlist{
--m32032  -m32332  -m32532  -m32081  -m32381 @gol
+ at gccoptlist{-m32032  -m32332  -m32532  -m32081  -m32381 @gol
 -mmult-add  -mnomult-add  -msoft-float  -mrtd  -mnortd @gol
 -mregparam  -mnoregparam  -msb  -mnosb @gol
 -mbitfield  -mnobitfield  -mhimem  -mnohimem}

 @emph{AVR Options}
- at gccoptlist{
--mmcu= at var{mcu}  -msize  -minit-stack= at var{n}  -mno-interrupts @gol
+ at gccoptlist{-mmcu=@var{mcu}  -msize  -minit-stack= at var{n}  -mno-interrupts @gol
 -mcall-prologues  -mno-tablejump  -mtiny-stack}

 @emph{MCore Options}
- at gccoptlist{
--mhardlit  -mno-hardlit  -mdiv  -mno-div  -mrelax-immediates @gol
+ at gccoptlist{-mhardlit  -mno-hardlit  -mdiv  -mno-div  -mrelax-immediates @gol
 -mno-relax-immediates  -mwide-bitfields  -mno-wide-bitfields @gol
 -m4byte-functions  -mno-4byte-functions  -mcallgraph-data @gol
 -mno-callgraph-data  -mslow-bytes  -mno-slow-bytes  -mno-lsim @gol
 -mlittle-endian  -mbig-endian  -m210  -m340  -mstack-increment}

 @emph{MMIX Options}
- at gccoptlist{
--mlibfuncs -mno-libfuncs -mepsilon -mno-epsilon -mabi=gnu @gol
--mabi=mmixware -mzero-extend -mknuthdiv -mtoplevel-symbols @gol
--melf -mbranch-predict -mno-branch-predict -mbase-addresses @gol
--mno-base-addresses -msingle-exit -mno-single-exit}
+ at gccoptlist{-mlibfuncs  -mno-libfuncs  -mepsilon  -mno-epsilon  -mabi=gnu @gol
+-mabi=mmixware  -mzero-extend  -mknuthdiv  -mtoplevel-symbols @gol
+-melf  -mbranch-predict  -mno-branch-predict  -mbase-addresses @gol
+-mno-base-addresses  -msingle-exit  -mno-single-exit}

 @emph{IA-64 Options}
- at gccoptlist{
--mbig-endian  -mlittle-endian  -mgnu-as  -mgnu-ld  -mno-pic @gol
+ at gccoptlist{-mbig-endian  -mlittle-endian  -mgnu-as  -mgnu-ld  -mno-pic @gol
 -mvolatile-asm-stop  -mb-step  -mregister-names  -mno-sdata @gol
 -mconstant-gp  -mauto-pic  -minline-float-divide-min-latency @gol
--minline-float-divide-max-throughput -minline-int-divide-min-latency @gol
--minline-int-divide-max-throughput -mno-dwarf2-asm @gol
+-minline-float-divide-max-throughput @gol
+-minline-int-divide-min-latency @gol
+-minline-int-divide-max-throughput  -mno-dwarf2-asm @gol
 -mfixed-range= at var{register-range}}

 @emph{D30V Options}
- at gccoptlist{
--mextmem  -mextmemory  -monchip  -mno-asm-optimize @gol
--masm-optimize -mbranch-cost= at var{n} -mcond-exec= at var{n}}
+ at gccoptlist{-mextmem  -mextmemory  -monchip  -mno-asm-optimize @gol
+-masm-optimize  -mbranch-cost= at var{n}  -mcond-exec= at var{n}}

 @emph{S/390 and zSeries Options}
- at gccoptlist{
--mhard-float  -msoft-float  -mbackchain  -mno-backchain @gol
--msmall-exec  -mno-small-exec  -mmvcle -mno-mvcle @gol
--m64 -m31 -mdebug -mno-debug}
+ at gccoptlist{-mhard-float  -msoft-float  -mbackchain  -mno-backchain @gol
+-msmall-exec  -mno-small-exec  -mmvcle  -mno-mvcle @gol
+-m64  -m31  -mdebug  -mno-debug}

 @emph{CRIS Options}
- at gccoptlist{
--mcpu= at var{cpu} -march= at var{cpu} -mtune= at var{cpu} @gol
--mmax-stack-frame= at var{n} -melinux-stacksize= at var{n} @gol
--metrax4 -metrax100 -mpdebug -mcc-init -mno-side-effects @gol
--mstack-align -mdata-align -mconst-align @gol
--m32-bit -m16-bit -m8-bit -mno-prologue-epilogue -mno-gotplt @gol
--melf -maout -melinux -mlinux -sim -sim2}
+ at gccoptlist{-mcpu=@var{cpu}  -march= at var{cpu}  -mtune= at var{cpu} @gol
+-mmax-stack-frame= at var{n}  -melinux-stacksize= at var{n} @gol
+-metrax4  -metrax100  -mpdebug  -mcc-init  -mno-side-effects @gol
+-mstack-align  -mdata-align  -mconst-align @gol
+-m32-bit  -m16-bit  -m8-bit  -mno-prologue-epilogue  -mno-gotplt @gol
+-melf  -maout  -melinux  -mlinux  -sim  -sim2}

 @emph{PDP-11 Options}
- at gccoptlist{
--mfpu  -msoft-float  -mac0  -mno-ac0  -m40  -m45  -m10 @gol
+ at gccoptlist{-mfpu  -msoft-float  -mac0  -mno-ac0  -m40  -m45  -m10 @gol
 -mbcopy  -mbcopy-builtin  -mint32  -mno-int16 @gol
 -mint16  -mno-int32  -mfloat32  -mno-float64 @gol
 -mfloat64  -mno-float32  -mabshi  -mno-abshi @gol
@@ -657,59 +614,57 @@ in the following sections.
 -msplit  -mno-split  -munix-asm  -mdec-asm}

 @emph{Xstormy16 Options}
- at gccoptlist{
--msim}
+ at gccoptlist{-msim}

 @emph{Xtensa Options}
- at gccoptlist{
--mbig-endian -mlittle-endian @gol
--mdensity -mno-density @gol
--mmac16 -mno-mac16 @gol
--mmul16 -mno-mul16 @gol
--mmul32 -mno-mul32 @gol
--mnsa -mno-nsa @gol
--mminmax -mno-minmax @gol
--msext -mno-sext @gol
--mbooleans -mno-booleans @gol
--mhard-float -msoft-float @gol
--mfused-madd -mno-fused-madd @gol
--mserialize-volatile -mno-serialize-volatile @gol
--mtext-section-literals -mno-text-section-literals @gol
--mtarget-align -mno-target-align @gol
--mlongcalls -mno-longcalls}
+ at gccoptlist{-mbig-endian  -mlittle-endian @gol
+-mdensity  -mno-density @gol
+-mmac16  -mno-mac16 @gol
+-mmul16  -mno-mul16 @gol
+-mmul32  -mno-mul32 @gol
+-mnsa  -mno-nsa @gol
+-mminmax  -mno-minmax @gol
+-msext  -mno-sext @gol
+-mbooleans  -mno-booleans @gol
+-mhard-float  -msoft-float @gol
+-mfused-madd  -mno-fused-madd @gol
+-mserialize-volatile  -mno-serialize-volatile @gol
+-mtext-section-literals  -mno-text-section-literals @gol
+-mtarget-align  -mno-target-align @gol
+-mlongcalls  -mno-longcalls}

 @emph{FRV Options}
- at gccoptlist{
--mgpr-32 -mgpr-64 -mfpr-32 -mfpr-64 -mhard-float -msoft-float @gol
--malloc-cc -mfixed-cc -mdword -mno-dword -mdouble -mno-double @gol
--mmedia -mno-media -mmuladd -mno-muladd -mlibrary-pic -macc-4 @gol
--macc-8 -mpack -mno-pack -mno-eflags -mcond-move -mno-cond-move @gol
--mscc -mno-scc -mcond-exec -mno-cond-exec -mvliw-branch -mno-vliw-branch @gol
--mmulti-cond-exec -mno-multi-cond-exec -mnested-cond-exec @gol
--mno-nested-cond-exec -mtomcat-stats @gol
+ at gccoptlist{-mgpr-32  -mgpr-64  -mfpr-32  -mfpr-64 @gol
+-mhard-float  -msoft-float  -malloc-cc  -mfixed-cc @gol
+-mdword  -mno-dword  -mdouble  -mno-double @gol
+-mmedia  -mno-media  -mmuladd  -mno-muladd  -mlibrary-pic @gol
+-macc-4  -macc-8  -mpack  -mno-pack  -mno-eflags @gol
+-mcond-move  -mno-cond-move -mscc  -mno-scc  @gol
+-mcond-exec  -mno-cond-exec  -mvliw-branch  -mno-vliw-branch @gol
+-mmulti-cond-exec  -mno-multi-cond-exec  -mnested-cond-exec @gol
+-mno-nested-cond-exec  -mtomcat-stats @gol
 -mcpu= at var{cpu}}



 @item Code Generation Options
 @xref{Code Gen Options,,Options for Code Generation Conventions}.
- at gccoptlist{
--fcall-saved- at var{reg}  -fcall-used- at var{reg} @gol
--ffixed- at var{reg} -fexceptions @gol
+ at gccoptlist{-fcall-saved-@var{reg}  -fcall-used- at var{reg} @gol
+-ffixed- at var{reg}  -fexceptions @gol
 -fnon-call-exceptions  -funwind-tables @gol
--fasynchronous-unwind-tables -fforced-unwind-exceptions @gol
+-fasynchronous-unwind-tables  -fforced-unwind-exceptions @gol
 -finhibit-size-directive  -finstrument-functions @gol
 -fno-common  -fno-ident  -fno-gnu-linker @gol
 -fpcc-struct-return  -fpic  -fPIC @gol
 -freg-struct-return  -fshared-data  -fshort-enums @gol
--fshort-double  -fshort-wchar -fvolatile @gol
+-fshort-double  -fshort-wchar  -fvolatile @gol
 -fvolatile-global  -fvolatile-static @gol
 -fverbose-asm  -fpack-struct  -fstack-check @gol
 -fstack-limit-register= at var{reg}  -fstack-limit-symbol= at var{sym} @gol
 -fargument-alias  -fargument-noalias @gol
 -fargument-noalias-global  -fleading-underscore @gol
 -ftls-model= at var{model} @gol
--ftrapv -fbounds-check}
+-ftrapv  -fbounds-check}
 @end table

 @menu
@@ -3408,15 +3363,15 @@ time, without performing any optimizatio
 compilation time.

 @option{-O} turns on the following optimization flags:
- at gccoptlist{-fdefer-pop
--fmerge-constants
--fthread-jumps
--floop-optimize
--fcrossjumping
--fif-conversion
--fif-conversion2
--fdelayed-branch
--fguess-branch-probability
+ at gccoptlist{-fdefer-pop @gol
+-fmerge-constants @gol
+-fthread-jumps @gol
+-floop-optimize @gol
+-fcrossjumping @gol
+-fif-conversion @gol
+-fif-conversion2 @gol
+-fdelayed-branch @gol
+-fguess-branch-probability @gol
 -fcprop-registers}

 @option{-O} also turns on @option{-fomit-frame-pointer} on machines
@@ -3432,22 +3387,22 @@ and the performance of the generated cod

 @option{-O2} turns on all optimization flags specified by @option{-O}.  It
 also turns on the following optimization flags:
- at gccoptlist{-fforce-mem
--foptimize-sibling-calls
--fstrength-reduce
--fcse-follow-jumps  -fcse-skip-blocks
--frerun-cse-after-loop  -frerun-loop-opt
--fgcse   -fgcse-lm   -fgcse-sm
--fdelete-null-pointer-checks
--fexpensive-optimizations
--fregmove
--fschedule-insns  -fschedule-insns2
--fsched-interblock -fsched-spec
--fcaller-saves
--fpeephole2
--freorder-blocks  -freorder-functions
--fstrict-aliasing
--falign-functions  -falign-jumps
+ at gccoptlist{-fforce-mem @gol
+-foptimize-sibling-calls @gol
+-fstrength-reduce @gol
+-fcse-follow-jumps  -fcse-skip-blocks @gol
+-frerun-cse-after-loop  -frerun-loop-opt @gol
+-fgcse   -fgcse-lm   -fgcse-sm @gol
+-fdelete-null-pointer-checks @gol
+-fexpensive-optimizations @gol
+-fregmove @gol
+-fschedule-insns  -fschedule-insns2 @gol
+-fsched-interblock -fsched-spec @gol
+-fcaller-saves @gol
+-fpeephole2 @gol
+-freorder-blocks  -freorder-functions @gol
+-fstrict-aliasing @gol
+-falign-functions  -falign-jumps @gol
 -falign-loops  -falign-labels}

 Please note the warning under @option{-fgcse} about
@@ -3470,7 +3425,7 @@ do not typically increase code size.  It
 optimizations designed to reduce code size.

 @option{-Os} disables the following optimization flags:
- at gccoptlist{-falign-functions  -falign-jumps  -falign-loops
+ at gccoptlist{-falign-functions  -falign-jumps  -falign-loops @gol
 -falign-labels  -freorder-blocks -fprefetch-loop-arrays}

 If you use multiple @option{-O} options, with or without level numbers,
@@ -4273,6 +4228,7 @@ to improve locality of reference in the
 using the ELF object format and SPARC processors running Solaris 2 have
 linkers with such optimizations.  AIX may have these optimizations in
 the future.
+

 Only use these options when there are significant benefits from doing
 so.  When you specify these options, the assembler and linker will


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]