]> gcc.gnu.org Git - gcc.git/blame_incremental - gcc/common.opt
common.opt: Add description of the new -fgcse-after-reload flag.
[gcc.git] / gcc / common.opt
... / ...
CommitLineData
1; Options for the language- and target-independent parts of the compiler.
2; Copyright (C) 2003, 2004 Free Software Foundation, Inc.
3;
4; This file is part of GCC.
5;
6; GCC is free software; you can redistribute it and/or modify it under
7; the terms of the GNU General Public License as published by the Free
8; Software Foundation; either version 2, or (at your option) any later
9; version.
10;
11; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14; for more details.
15;
16; You should have received a copy of the GNU General Public License
17; along with GCC; see the file COPYING. If not, write to the Free
18; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19; 02111-1307, USA.
20
21; See c.opt for a description of this file's format.
22
23; Please try to keep this file in ASCII collating order.
24
25-help
26Common
27Display this information
28
29-param
30Common Separate
31--param <param>=<value> Set paramter <param> to value. See below for a complete list of parameters
32
33-target-help
34Common
35
36-version
37Common
38
39G
40Common Joined Separate UInteger
41-G<number> Put global and static data smaller than <number> bytes into a special section (on some targets)
42
43O
44Common JoinedOrMissing
45-O<number> Set optimization level to <number>
46
47Os
48Common
49Optimize for space rather than speed
50
51W
52Common RejectNegative
53This switch is deprecated; use -Wextra instead
54
55Waggregate-return
56Common
57Warn about returning structures, unions or arrays
58
59Wcast-align
60Common
61Warn about pointer casts which increase alignment
62
63Wdeprecated-declarations
64Common
65Warn about uses of __attribute__((deprecated)) declarations
66
67Wdisabled-optimization
68Common
69Warn when an optimization pass is disabled
70
71Werror
72Common
73Treat all warnings as errors
74
75Wextra
76Common
77Print extra (possibly unwanted) warnings
78
79Winline
80Common
81Warn when an inlined function cannot be inlined
82
83Wlarger-than-
84Common RejectNegative Joined UInteger
85-Wlarger-than-<number> Warn if an object is larger than <number> bytes
86
87Wmissing-noreturn
88Common
89Warn about functions which might be candidates for __attribute__((noreturn))
90
91Wpacked
92Common
93Warn when the packed attribute has no effect on struct layout
94
95Wpadded
96Common
97Warn when padding is required to align structure members
98
99Wshadow
100Common
101Warn when one local variable shadows another
102
103Wstrict-aliasing
104Common
105Warn about code which might break strict aliasing rules
106
107Wswitch
108Common
109Warn about enumerated switches, with no default, missing a case
110
111Wswitch-default
112Common
113Warn about enumerated switches missing a \"default:\" statement
114
115Wswitch-enum
116Common
117Warn about all enumerated switches missing a specific case
118
119Wsystem-headers
120Common
121Do not suppress warnings from system headers
122
123Wuninitialized
124Common
125Warn about uninitialized automatic variables
126
127Wunreachable-code
128Common
129Warn about code that will never be executed
130
131Wunused
132Common
133Enable all -Wunused- warnings
134
135Wunused-function
136Common
137Warn when a function is unused
138
139Wunused-label
140Common
141Warn when a label is unused
142
143Wunused-parameter
144Common
145Warn when a function parameter is unused
146
147Wunused-value
148Common
149Warn when an expression value is unused
150
151Wunused-variable
152Common
153Warn when a variable is unused
154
155aux-info
156Common Separate
157-aux-info <file> Emit declaration information into <file>
158
159aux-info=
160Common Joined
161
162auxbase
163Common Separate
164
165auxbase-strip
166Common Separate
167
168d
169Common Joined
170-d<letters> Enable dumps from specific passes of the compiler
171
172dumpbase
173Common Separate
174-dumpbase <file> Set the file basename to be used for dumps
175
176fPIC
177Common
178
179fPIE
180Common
181
182fabi-version=
183Common Joined UInteger
184
185falign-functions
186Common
187Align the start of functions
188
189falign-functions=
190Common RejectNegative Joined UInteger
191
192falign-jumps
193Common
194Align labels which are only reached by jumping
195
196falign-jumps=
197Common RejectNegative Joined UInteger
198
199falign-labels
200Common
201Align all labels
202
203falign-labels=
204Common RejectNegative Joined UInteger
205
206falign-loops
207Common
208Align the start of loops
209
210falign-loops=
211Common RejectNegative Joined UInteger
212
213fargument-alias
214Common
215Specify that arguments may alias each other and globals
216
217fargument-noalias
218Common
219Assume arguments may alias globals but not each other
220
221fargument-noalias-global
222Common
223Assume arguments alias neither each other nor globals
224
225fasynchronous-unwind-tables
226Common
227Generate unwind tables that are exact at each instruction boundary
228
229fbounds-check
230Common
231Generate code to check bounds before indexing arrays
232
233fbranch-count-reg
234Common
235Replace add, compare, branch with branch on count register
236
237fbranch-probabilities
238Common
239Use profiling information for branch probabilities
240
241fbranch-target-load-optimize
242Common
243Perform branch target load optimization before prologue / epilogue threading
244
245fbranch-target-load-optimize2
246Common
247Perform branch target load optimization after prologue / epilogue threading
248
249fbtr-bb-exclusive
250Common
251Restrict target load migration not to re-use registers in any basic block
252
253fcall-saved-
254Common Joined RejectNegative
255-fcall-saved-<register> Mark <register> as being preserved across functions
256
257fcall-used-
258Common Joined RejectNegative
259-fcall-used-<register> Mark <register> as being corrupted by function calls
260
261fcaller-saves
262Common
263Save registers around function calls
264
265fcommon
266Common
267Do not put uninitialized globals in the common section
268
269fcprop-registers
270Common
271Perform a register copy-propagation optimization pass
272
273fcrossjumping
274Common
275Perform cross-jumping optimization
276
277fcse-follow-jumps
278Common
279When running CSE, follow jumps to their targets
280
281fcse-skip-blocks
282Common
283When running CSE, follow conditional jumps
284
285fdata-sections
286Common
287Place data items into their own section
288
289fdefer-pop
290Common
291Defer popping functions args from stack until later
292
293fdelayed-branch
294Common
295Attempt to fill delay slots of branch instructions
296
297fdelete-null-pointer-checks
298Common
299Delete useless null pointer checks
300
301fdiagnostics-show-location=
302Common Joined RejectNegative
303-fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics
304
305fdump-unnumbered
306Common
307Suppress output of instruction numbers and line number notes in debugging dumps
308
309feliminate-dwarf2-dups
310Common
311Perform DWARF2 duplicate elimination
312
313feliminate-unused-debug-symbols
314Common
315Perform unused type elimination in debug info
316
317feliminate-unused-debug-types
318Common
319Perform unused type elimination in debug info
320
321fexceptions
322Common
323Enable exception handling
324
325fexpensive-optimizations
326Common
327Perform a number of minor, expensive optimizations
328
329ffast-math
330Common
331
332ffinite-math-only
333Common
334Assume no NaNs or infinities are generated
335
336ffixed-
337Common Joined RejectNegative
338-ffixed-<register> Mark <register> as being unavailable to the compiler
339
340ffloat-store
341Common
342Do not store floats in registers
343
344fforce-addr
345Common
346Copy memory address constants into registers before use
347
348fforce-mem
349Common
350Copy memory operands into registers before use
351
352ffunction-cse
353Common
354Allow function addresses to be held in registers
355
356ffunction-sections
357Common
358Place each function into its own section
359
360fgcse
361Common
362Perform global common subexpression elimination
363
364fgcse-lm
365Common
366Perform enhanced load motion during global common subexpression elimination
367
368fgcse-sm
369Common
370Perform store motion after global common subexpression elimination
371
372fgcse-las
373Common
374Perform redundant load after store elimination in global common subexpression
375elimination
376
377fgcse-after-reload
378Common
379Perform global common subexpression elimination after register allocation
380has finished.
381
382fguess-branch-probability
383Common
384Enable guessing of branch probabilities
385
386fident
387Common
388Process #ident directives
389
390fif-conversion
391Common
392Perform conversion of conditional jumps to branchless equivalents
393
394fif-conversion2
395Common
396Perform conversion of conditional jumps to conditional execution
397
398finhibit-size-directive
399Common
400Do not generate .size directives
401
402finline
403Common
404Pay attention to the \"inline\" keyword
405
406finline-functions
407Common
408Integrate simple functions into their callers
409
410finline-limit-
411Common RejectNegative Joined UInteger
412
413finline-limit=
414Common RejectNegative Joined UInteger
415-finline-limit=<number> Limit the size of inlined functions to <number>
416
417finstrument-functions
418Common
419Instrument function entry and exit with profiling calls
420
421fkeep-inline-functions
422Common
423Generate code for functions even if they are fully inlined
424
425fkeep-static-consts
426Common
427Emit static const variables even if they are not used
428
429fleading-underscore
430Common
431Give external symbols a leading underscore
432
433floop-optimize
434Common
435Perform loop optimizations
436
437fmath-errno
438Common
439Set errno after built-in math functions
440
441fmem-report
442Common
443Report on permanent memory allocation
444
445fmerge-all-constants
446Common
447Attempt to merge identical constants and constant variables
448
449fmerge-constants
450Common
451Attempt to merge identical constants across compilation units
452
453fmessage-length=
454Common RejectNegative Joined UInteger
455-fmessage-length=<number> Limit diagnostics to <number> characters per line. 0 suppresses line-wrapping
456
457fmove-all-movables
458Common
459Force all loop invariant computations out of loops
460
461fnew-ra
462Common
463Use graph-coloring register allocation
464
465fnon-call-exceptions
466Common
467Support synchronous non-call exceptions
468
469fold-unroll-loops
470Common
471Perform loop unrolling when iteration count is known
472
473fold-unroll-all-loops
474Common
475Perform loop unrolling for all loops
476
477fomit-frame-pointer
478Common
479When possible do not generate stack frames
480
481foptimize-register-move
482Common
483Do the full register move optimization pass
484
485foptimize-sibling-calls
486Common
487Optimize sibling and tail recursive calls
488
489fpack-struct
490Common
491Pack structure members together without holes
492
493fpcc-struct-return
494Common
495Return small aggregates in memory, not registers
496
497fpeel-loops
498Common
499Perform loop peeling
500
501fpeephole
502Common
503Enable machine specific peephole optimizations
504
505fpeephole2
506Common
507Enable an RTL peephole pass before sched2
508
509fpic
510Common
511Generate position-independent code if possible
512
513fpie
514Common
515Generate position-independent code for executables if possible
516
517fprefetch-loop-arrays
518Common
519Generate prefetch instructions, if available, for arrays in loops
520
521fprofile
522Common
523Enable basic program profiling code
524
525fprofile-arcs
526Common
527Insert arc-based program profiling code
528
529fprofile-generate
530Common
531Enable common options for generating profile info for profile feedback directed optimizations
532
533fprofile-use
534Common
535Enable common options for performing profile feedback directed optimizations
536
537fprofile-values
538Common
539Insert code to profile values of expressions
540
541frandom-seed
542Common
543
544frandom-seed=
545Common Joined RejectNegative
546-frandom-seed=<string> Make compile reproducible using <string>
547
548freduce-all-givs
549Common
550Strength reduce all loop general induction variables
551
552freg-struct-return
553Common
554Return small aggregates in registers
555
556fregmove
557Common
558Enables a register move optimization
559
560frename-registers
561Common
562Perform a register renaming optimization pass
563
564freorder-blocks
565Common
566Reorder basic blocks to improve code placement
567
568freorder-functions
569Common
570Reorder functions to improve code placement
571
572frerun-cse-after-loop
573Common
574Add a common subexpression elimination pass after loop optimizations
575
576frerun-loop-opt
577Common
578Run the loop optimizer twice
579
580frounding-math
581Common
582Disable optimizations that assume default FP rounding behavior
583
584fsched-interblock
585Common
586Enable scheduling across basic blocks
587
588fsched-spec
589Common
590Allow speculative motion of non-loads
591
592fsched-spec-load
593Common
594Allow speculative motion of some loads
595
596fsched-spec-load-dangerous
597Common
598Allow speculative motion of more loads
599
600fsched-verbose=
601Common RejectNegative Joined
602-fsched-verbose=<number> Set the verbosity level of the scheduler
603
604fsched2-use-superblocks
605Common
606If scheduling post reload, do superblock scheduling
607
608fsched2-use-traces
609Common
610If scheduling post reload, do trace scheduling
611
612fschedule-insns
613Common
614Reschedule instructions before register allocation
615
616fschedule-insns2
617Common
618Reschedule instructions after register allocation
619
620fsched-stalled-insns
621Common
622Allow premature scheduling of queued insns
623
624fsched-stalled-insns=
625Common RejectNegative Joined UInteger
626-fsched-stalled-insns=<number> Set number of queued insns that can be prematurely scheduled
627
628fsched-stalled-insns-dep
629Common
630Set dependence distance checking in premature scheduling of queued insns
631
632fsched-stalled-insns-dep=
633Common RejectNegative Joined UInteger
634-fsched-stalled-insns-dep=<number> Set dependence distance checking in premature scheduling of queued insns
635
636fshared-data
637Common
638Mark data as shared rather than private
639
640fsignaling-nans
641Common
642Disable optimizations observable by IEEE signaling NaNs
643
644fsingle-precision-constant
645Common
646Convert floating point constants to single precision constants
647
648fstack-check
649Common
650Insert stack checking code into the program
651
652fstack-limit
653Common
654
655fstack-limit-register=
656Common RejectNegative Joined
657-fstack-limit-register=<register> Trap if the stack goes past <register>
658
659fstack-limit-symbol=
660Common RejectNegative Joined
661-fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
662
663fstrength-reduce
664Common
665Perform strength reduction optimizations
666
667fstrict-aliasing
668Common
669Assume strict aliasing rules apply
670
671fsyntax-only
672Common
673Check for syntax errors, then stop
674
675ftest-coverage
676Common
677Create data files needed by \"gcov\"
678
679fthread-jumps
680Common
681Perform jump threading optimizations
682
683ftime-report
684Common
685Report the time taken by each compiler pass
686
687ftls-model=
688Common Joined RejectNegative
689-ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec] Set the default thread-local storage code generation model
690
691ftracer
692Common
693Perform superblock formation via tail duplication
694
695ftrapping-math
696Common
697Assume floating-point operations can trap
698
699ftrapv
700Common
701Trap for signed overflow in addition, subtraction and multiplication
702
703funit-at-a-time
704Common
705Compile whole compilation unit at a time
706
707funroll-loops
708Common
709Perform loop unrolling when iteration count is known
710
711funroll-all-loops
712Common
713Perform loop unrolling for all loops
714
715funsafe-math-optimizations
716Common
717Allow math optimizations that may violate IEEE or ISO standards
718
719funswitch-loops
720Common
721Perform loop unswitching
722
723funwind-tables
724Common
725Just generate unwind tables for exception handling
726
727fvar-tracking
728Common
729Perform variable tracking
730
731fverbose-asm
732Common
733Add extra commentary to assembler output
734
735fvpt
736Common
737Use expression value profiles in optimizations
738
739fweb
740Common
741Construct webs and split unrelated uses of single variable
742
743fwrapv
744Common
745Assume signed arithmetic overflow wraps around
746
747fzero-initialized-in-bss
748Common
749Put zero initialized data in the bss section
750
751g
752Common JoinedOrMissing
753Generate debug information in default format
754
755gcoff
756Common JoinedOrMissing
757Generate debug information in COFF format
758
759gdwarf-2
760Common JoinedOrMissing
761Generate debug information in DWARF v2 format
762
763ggdb
764Common JoinedOrMissing
765Generate debug information in default extended format
766
767gstabs
768Common JoinedOrMissing
769Generate debug information in STABS format
770
771gstabs+
772Common JoinedOrMissing
773Generate debug information in extended STABS format
774
775gvms
776Common JoinedOrMissing
777Generate debug information in VMS format
778
779gxcoff
780Common JoinedOrMissing
781Generate debug information in XCOFF format
782
783gxcoff+
784Common JoinedOrMissing
785Generate debug information in extended XCOFF format
786
787m
788Common Joined
789
790o
791Common Joined Separate
792-o <file> Place output into <file>
793
794p
795Common
796Enable function profiling
797
798pedantic
799Common
800Issue warnings needed for strict compliance to the standard
801
802pedantic-errors
803Common
804Like -pedantic but issue them as errors
805
806quiet
807Common
808Do not display functions compiled or elapsed time
809
810version
811Common
812Display the compiler's version
813
814w
815Common
816Suppress warnings
817
818; This comment is to ensure we retain the blank line above.
This page took 0.029496 seconds and 5 git commands to generate.