OSDN Git Service

* decl.c (finish_method): Give methods once-only linkage.
[pf3gnuchains/gcc-fork.git] / gcc / common.opt
1 ; Options for the language- and target-independent parts of the compiler.
2
3 ; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
4 ;
5 ; This file is part of GCC.
6 ;
7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free
9 ; Software Foundation; either version 2, or (at your option) any later
10 ; version.
11
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 ; for more details.
16
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING.  If not, write to the Free
19 ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 ; 02111-1307, USA.
21
22 ; See c.opt for a description of this file's format.
23
24 ; Please try to keep this file in ASCII collating order.
25
26 -help
27 Common
28 Display this information
29
30 -param
31 Common Separate
32 --param <param>=<value> Set parameter <param> to value.  See below for a complete list of parameters
33
34 -target-help
35 Common
36
37 -version
38 Common
39
40 G
41 Common Joined Separate UInteger
42 -G<number>      Put global and static data smaller than <number> bytes into a special section (on some targets)
43
44 O
45 Common JoinedOrMissing
46 -O<number>      Set optimization level to <number>
47
48 Os
49 Common
50 Optimize for space rather than speed
51
52 W
53 Common RejectNegative
54 This switch is deprecated; use -Wextra instead
55
56 Waggregate-return
57 Common Var(warn_aggregate_return)
58 Warn about returning structures, unions or arrays
59
60 Wcast-align
61 Common Var(warn_cast_align)
62 Warn about pointer casts which increase alignment
63
64 Wdeprecated-declarations
65 Common Var(warn_deprecated_decl) Init(1)
66 Warn about uses of __attribute__((deprecated)) declarations
67
68 Wdisabled-optimization
69 Common Var(warn_disabled_optimization)
70 Warn when an optimization pass is disabled
71
72 Werror
73 Common Var(warnings_are_errors)
74 Treat all warnings as errors
75
76 Wextra
77 Common
78 Print extra (possibly unwanted) warnings
79
80 Wfatal-errors
81 Common Var(flag_fatal_errors)
82 Exit on the first error occurred
83
84 Winline
85 Common Var(warn_inline)
86 Warn when an inlined function cannot be inlined
87
88 Wlarger-than-
89 Common RejectNegative Joined UInteger
90 -Wlarger-than-<number>  Warn if an object is larger than <number> bytes
91
92 Wmissing-noreturn
93 Common Var(warn_missing_noreturn)
94 Warn about functions which might be candidates for __attribute__((noreturn))
95
96 Wpacked
97 Common Var(warn_packed)
98 Warn when the packed attribute has no effect on struct layout
99
100 Wpadded
101 Common Var(warn_padded)
102 Warn when padding is required to align structure members
103
104 Wshadow
105 Common Var(warn_shadow)
106 Warn when one local variable shadows another
107
108 Wstrict-aliasing
109 Common
110 Warn about code which might break strict aliasing rules
111
112 Wstrict-aliasing=
113 Common Joined UInteger
114 Warn about code which might break strict aliasing rules
115
116 Wswitch
117 Common Var(warn_switch)
118 Warn about enumerated switches, with no default, missing a case
119
120 Wswitch-default
121 Common Var(warn_switch_default)
122 Warn about enumerated switches missing a \"default:\" statement
123
124 Wswitch-enum
125 Common Var(warn_switch_enum)
126 Warn about all enumerated switches missing a specific case
127
128 Wsystem-headers
129 Common Var(warn_system_headers)
130 Do not suppress warnings from system headers
131
132 Wuninitialized
133 Common Var(warn_uninitialized)
134 Warn about uninitialized automatic variables
135
136 Wunreachable-code
137 Common Var(warn_notreached)
138 Warn about code that will never be executed
139
140 Wunused
141 Common
142 Enable all -Wunused- warnings
143
144 Wunused-function
145 Common Var(warn_unused_function)
146 Warn when a function is unused
147
148 Wunused-label
149 Common Var(warn_unused_label)
150 Warn when a label is unused
151
152 Wunused-parameter
153 Common Var(warn_unused_parameter)
154 Warn when a function parameter is unused
155
156 Wunused-value
157 Common Var(warn_unused_value)
158 Warn when an expression value is unused
159
160 Wunused-variable
161 Common Var(warn_unused_variable)
162 Warn when a variable is unused
163
164 aux-info
165 Common Separate
166 -aux-info <file>        Emit declaration information into <file>
167
168 aux-info=
169 Common Joined
170
171 auxbase
172 Common Separate
173
174 auxbase-strip
175 Common Separate
176
177 d
178 Common Joined
179 -d<letters>     Enable dumps from specific passes of the compiler
180
181 dumpbase
182 Common Separate
183 -dumpbase <file>        Set the file basename to be used for dumps
184
185 ; The version of the C++ ABI in use.  The following values are allowed:
186 ;
187 ; 0: The version of the ABI believed most conformant with the C++ ABI
188 ;    specification.  This ABI may change as bugs are discovered and fixed.
189 ;    Therefore, 0 will not necessarily indicate the same ABI in different
190 ;    versions of G++.
191 ;
192 ; 1: The version of the ABI first used in G++ 3.2.
193 ;
194 ; Additional positive integers will be assigned as new versions of
195 ; the ABI become the default version of the ABI.
196 fabi-version=
197 Common Joined UInteger Var(flag_abi_version) Init(2)
198
199 falign-functions
200 Common Report Var(align_functions,0)
201 Align the start of functions
202
203 falign-functions=
204 Common RejectNegative Joined UInteger
205
206 falign-jumps
207 Common Report Var(align_jumps,0)
208 Align labels which are only reached by jumping
209
210 falign-jumps=
211 Common RejectNegative Joined UInteger
212
213 falign-labels
214 Common Report Var(align_labels,0)
215 Align all labels
216
217 falign-labels=
218 Common RejectNegative Joined UInteger
219
220 falign-loops
221 Common Report Var(align_loops)
222 Align the start of loops
223
224 falign-loops=
225 Common RejectNegative Joined UInteger
226
227 ; This flag is only tested if alias checking is enabled.
228 ; 0 if pointer arguments may alias each other.  True in C.
229 ; 1 if pointer arguments may not alias each other but may alias
230 ;   global variables.
231 ; 2 if pointer arguments may not alias each other and may not
232 ;   alias global variables.  True in Fortran.
233 ;   The value is ignored if flag_alias_check is 0.
234 fargument-alias
235 Common Report Var(flag_argument_noalias,0)
236 Specify that arguments may alias each other and globals
237
238 fargument-noalias
239 Common Report Var(flag_argument_noalias,1) VarExists
240 Assume arguments may alias globals but not each other
241
242 fargument-noalias-global
243 Common Report Var(flag_argument_noalias,2) VarExists
244 Assume arguments alias neither each other nor globals
245
246 fasynchronous-unwind-tables
247 Common Report Var(flag_asynchronous_unwind_tables)
248 Generate unwind tables that are exact at each instruction boundary
249
250 ; -fcheck-bounds causes gcc to generate array bounds checks.
251 ; For C, C++ and ObjC: defaults off.
252 ; For Java: defaults to on.
253 ; For Fortran: defaults to off.
254 fbounds-check
255 Common Report Var(flag_bounds_check)
256 Generate code to check bounds before indexing arrays
257
258 fbranch-count-reg
259 Common Report Var(flag_branch_on_count_reg) Init(1)
260 Replace add, compare, branch with branch on count register
261
262 fbranch-probabilities
263 Common Report Var(flag_branch_probabilities)
264 Use profiling information for branch probabilities
265
266 fbranch-target-load-optimize
267 Common Report Var(flag_branch_target_load_optimize)
268 Perform branch target load optimization before prologue / epilogue threading
269
270 fbranch-target-load-optimize2
271 Common Report Var(flag_branch_target_load_optimize2)
272 Perform branch target load optimization after prologue / epilogue threading
273
274 fbtr-bb-exclusive
275 Common Report Var(flag_btr_bb_exclusive)
276 Restrict target load migration not to re-use registers in any basic block
277
278 fcall-saved-
279 Common Joined RejectNegative
280 -fcall-saved-<register> Mark <register> as being preserved across functions
281
282 fcall-used-
283 Common Joined RejectNegative
284 -fcall-used-<register>  Mark <register> as being corrupted by function calls
285
286 ; Nonzero for -fcaller-saves: allocate values in regs that need to
287 ; be saved across function calls, if that produces overall better code.
288 ; Optional now, so people can test it.
289 fcaller-saves
290 Common Report Var(flag_caller_saves)
291 Save registers around function calls
292
293 fcommon
294 Common Report Var(flag_no_common,0)
295 Do not put uninitialized globals in the common section
296
297 fcprop-registers
298 Common Report Var(flag_cprop_registers)
299 Perform a register copy-propagation optimization pass
300
301 fcrossjumping
302 Common Report Var(flag_crossjumping)
303 Perform cross-jumping optimization
304
305 fcse-follow-jumps
306 Common Report Var(flag_cse_follow_jumps)
307 When running CSE, follow jumps to their targets
308
309 fcse-skip-blocks
310 Common Report Var(flag_cse_skip_blocks)
311 When running CSE, follow conditional jumps
312
313 fcx-limited-range
314 Common Report Var(flag_cx_limited_range)
315 Omit range reduction step when performing complex division
316
317 fdata-sections
318 Common Report Var(flag_data_sections)
319 Place data items into their own section
320
321 ; Nonzero for -fdefer-pop: don't pop args after each function call
322 ; instead save them up to pop many calls' args with one insns.
323 fdefer-pop
324 Common Report Var(flag_defer_pop)
325 Defer popping functions args from stack until later
326
327 fdelayed-branch
328 Common Report Var(flag_delayed_branch)
329 Attempt to fill delay slots of branch instructions
330
331 fdelete-null-pointer-checks
332 Common Report Var(flag_delete_null_pointer_checks)
333 Delete useless null pointer checks
334
335 fdiagnostics-show-location=
336 Common Joined RejectNegative
337 -fdiagnostics-show-location=[once|every-line]   How often to emit source location at the beginning of line-wrapped diagnostics
338
339 fdump-
340 Common Joined RejectNegative
341 -fdump-<type>   Dump various compiler internals to a file
342
343 fdump-unnumbered
344 Common Report Var(flag_dump_unnumbered) VarExists
345 Suppress output of instruction numbers and line number notes in debugging dumps
346
347 feliminate-dwarf2-dups
348 Common Report Var(flag_eliminate_dwarf2_dups)
349 Perform DWARF2 duplicate elimination
350
351 feliminate-unused-debug-symbols
352 Common Report Var(flag_debug_only_used_symbols)
353 Perform unused type elimination in debug info
354
355 feliminate-unused-debug-types
356 Common Report Var(flag_eliminate_unused_debug_types) Init(1)
357 Perform unused type elimination in debug info
358
359 fexceptions
360 Common Report Var(flag_exceptions)
361 Enable exception handling
362
363 fexpensive-optimizations
364 Common Report Var(flag_expensive_optimizations)
365 Perform a number of minor, expensive optimizations
366
367 ffast-math
368 Common
369
370 ffinite-math-only
371 Common Report Var(flag_finite_math_only)
372 Assume no NaNs or infinities are generated
373
374 ffixed-
375 Common Joined RejectNegative
376 -ffixed-<register>      Mark <register> as being unavailable to the compiler
377
378 ffloat-store
379 Common Report Var(flag_float_store)
380 Don't allocate floats and doubles in extended-precision registers
381
382 ; Nonzero for -fforce-addr: load memory address into a register before
383 ; reference to memory.  This makes better cse but slower compilation.
384 fforce-addr
385 Common Report Var(flag_force_addr)
386 Copy memory address constants into registers before use
387
388 ; Nonzero for -fforce-mem: load memory value into a register
389 ; before arithmetic on it.  This makes better cse but slower compilation.
390 fforce-mem
391 Common Report Var(flag_force_mem)
392 Copy memory operands into registers before use
393
394 ; Nonzero means don't put addresses of constant functions in registers.
395 ; Used for compiling the Unix kernel, where strange substitutions are
396 ; done on the assembly output.
397 ffunction-cse
398 Common Report Var(flag_no_function_cse,0)
399 Allow function addresses to be held in registers
400
401 ffunction-sections
402 Common Report Var(flag_function_sections)
403 Place each function into its own section
404
405 fgcse
406 Common Report Var(flag_gcse)
407 Perform global common subexpression elimination
408
409 fgcse-lm
410 Common Report Var(flag_gcse_lm) Init(1)
411 Perform enhanced load motion during global common subexpression elimination
412
413 fgcse-sm
414 Common Report Var(flag_gcse_sm) Init(0)
415 Perform store motion after global common subexpression elimination
416
417 fgcse-las
418 Common Report Var(flag_gcse_las) Init(0)
419 Perform redundant load after store elimination in global common subexpression
420 elimination
421
422 fgcse-after-reload
423 Common Report Var(flag_gcse_after_reload)
424 Perform global common subexpression elimination after register allocation
425 has finished.
426
427 fguess-branch-probability
428 Common Report Var(flag_guess_branch_prob)
429 Enable guessing of branch probabilities
430
431 ; Nonzero means ignore `#ident' directives.  0 means handle them.
432 ; Generate position-independent code for executables if possible
433 ; On SVR4 targets, it also controls whether or not to emit a
434 ; string identifying the compiler.
435 fident
436 Common Report Var(flag_no_ident,0)
437 Process #ident directives
438
439 fif-conversion
440 Common Report Var(flag_if_conversion)
441 Perform conversion of conditional jumps to branchless equivalents
442
443 fif-conversion2
444 Common Report Var(flag_if_conversion2)
445 Perform conversion of conditional jumps to conditional execution
446
447 ; -finhibit-size-directive inhibits output of .size for ELF.
448 ; This is used only for compiling crtstuff.c,
449 ; and it may be extended to other effects
450 ; needed for crtstuff.c on other systems.
451 finhibit-size-directive
452 Common Report Var(flag_inhibit_size_directive)
453 Do not generate .size directives
454
455 ; Nonzero means that functions declared `inline' will be treated
456 ; as `static'.  Prevents generation of zillions of copies of unused
457 ; static inline functions; instead, `inlines' are written out
458 ; only when actually used.  Used in conjunction with -g.  Also
459 ; does the right thing with #pragma interface.
460 finline
461 Common Report Var(flag_no_inline,0) Init(2)
462 Pay attention to the \"inline\" keyword
463
464 finline-functions
465 Common Report Var(flag_inline_functions)
466 Integrate simple functions into their callers
467
468 finline-limit-
469 Common RejectNegative Joined UInteger
470
471 finline-limit=
472 Common RejectNegative Joined UInteger
473 -finline-limit=<number> Limit the size of inlined functions to <number>
474
475 finstrument-functions
476 Common Report Var(flag_instrument_function_entry_exit)
477 Instrument function entry and exit with profiling calls
478
479 fivopts
480 Common Report Var(flag_ivopts) Init(1)
481 Optimize induction variables on trees
482
483 fkeep-inline-functions
484 Common Report Var(flag_keep_inline_functions)
485 Generate code for functions even if they are fully inlined
486
487 fkeep-static-consts
488 Common Report Var(flag_keep_static_consts) Init(1)
489 Emit static const variables even if they are not used
490
491 fleading-underscore
492 Common Report Var(flag_leading_underscore) Init(-1)
493 Give external symbols a leading underscore
494
495 floop-optimize
496 Common Report Var(flag_loop_optimize)
497 Perform loop optimizations
498
499 floop-optimize2
500 Common Report Var(flag_loop_optimize2)
501 Perform loop optimizations using the new loop optimizer
502
503 fmath-errno
504 Common Report Var(flag_errno_math) Init(1)
505 Set errno after built-in math functions
506
507 fmem-report
508 Common Report Var(mem_report)
509 Report on permanent memory allocation
510
511 ; This will attempt to merge constant section constants, if 1 only
512 ; string constants and constants from constant pool, if 2 also constant
513 ; variables.
514 fmerge-all-constants
515 Common Report Var(flag_merge_constants,2) Init(1)
516 Attempt to merge identical constants and constant variables
517
518 fmerge-constants
519 Common Report Var(flag_merge_constants,1) VarExists
520 Attempt to merge identical constants across compilation units
521
522 fmessage-length=
523 Common RejectNegative Joined UInteger
524 -fmessage-length=<number>       Limit diagnostics to <number> characters per line.  0 suppresses line-wrapping
525
526 fmodulo-sched
527 Common Report Var(flag_modulo_sched)
528 Perform SMS based modulo scheduling before the first scheduling pass
529
530 fmove-loop-invariants
531 Common Report Var(flag_move_loop_invariants)
532 Move loop invariant computations out of loops
533
534 fmudflap
535 Common RejectNegative Report Var(flag_mudflap)
536 Add mudflap bounds-checking instrumentation for single-threaded program.
537
538 fmudflapth
539 Common RejectNegative Report Var(flag_mudflap_threads)
540 Add mudflap bounds-checking instrumentation for multi-threaded program.
541
542 fmudflapir
543 Common RejectNegative Report Var(flag_mudflap_ignore_reads)
544 Ignore read operations when inserting mudflap instrumentation.
545
546 freschedule-modulo-scheduled-loops
547 Common Report Var(flag_resched_modulo_sched)
548 Enable/Disable the traditional scheduling in loops that already passed modulo scheduling
549
550 fnon-call-exceptions
551 Common Report Var(flag_non_call_exceptions)
552 Support synchronous non-call exceptions
553
554 fomit-frame-pointer
555 Common Report Var(flag_omit_frame_pointer)
556 When possible do not generate stack frames
557
558 foptimize-register-move
559 Common Report Var(flag_regmove)
560 Do the full register move optimization pass
561
562 foptimize-sibling-calls
563 Common Report Var(flag_optimize_sibling_calls)
564 Optimize sibling and tail recursive calls
565
566 fpack-struct
567 Common Report Var(flag_pack_struct)
568 Pack structure members together without holes
569
570 fpack-struct=
571 Common RejectNegative Joined UInteger
572 -fpack-struct=<number>  Set initial maximum structure member alignment
573
574 fpcc-struct-return
575 Common Report Var(flag_pcc_struct_return,1) VarExists
576 Return small aggregates in memory, not registers
577
578 fpeel-loops
579 Common Report Var(flag_peel_loops)
580 Perform loop peeling
581
582 fpeephole
583 Common Report Var(flag_no_peephole,0)
584 Enable machine specific peephole optimizations
585
586 fpeephole2
587 Common Report Var(flag_peephole2)
588 Enable an RTL peephole pass before sched2
589
590 fPIC
591 Common Report Var(flag_pic,2)
592 Generate position-independent code if possible (large mode)
593
594 fPIE
595 Common Report Var(flag_pie,2)
596 Generate position-independent code for executables if possible (large mode)
597
598 fpic
599 Common Report Var(flag_pic,1) VarExists
600 Generate position-independent code if possible (small mode)
601
602 fpie
603 Common Report Var(flag_pie,1) VarExists
604 Generate position-independent code for executables if possible (small mode)
605
606 fprefetch-loop-arrays
607 Common Report Var(flag_prefetch_loop_arrays)
608 Generate prefetch instructions, if available, for arrays in loops
609
610 fprofile
611 Common Report Var(profile_flag)
612 Enable basic program profiling code
613
614 fprofile-arcs
615 Common Report Var(profile_arc_flag)
616 Insert arc-based program profiling code
617
618 fprofile-generate
619 Common
620 Enable common options for generating profile info for profile feedback directed optimizations
621
622 fprofile-use
623 Common
624 Enable common options for performing profile feedback directed optimizations
625
626 fprofile-values
627 Common Report Var(flag_profile_values)
628 Insert code to profile values of expressions
629
630 frandom-seed
631 Common
632
633 frandom-seed=
634 Common Joined RejectNegative
635 -frandom-seed=<string>  Make compile reproducible using <string>
636
637 freg-struct-return
638 Common Report Var(flag_pcc_struct_return,0) VarExists
639 Return small aggregates in registers
640
641 fregmove
642 Common Report Var(flag_regmove)
643 Enables a register move optimization
644
645 frename-registers
646 Common Report Var(flag_rename_registers)
647 Perform a register renaming optimization pass
648
649 freorder-blocks
650 Common Report Var(flag_reorder_blocks)
651 Reorder basic blocks to improve code placement
652
653 freorder-blocks-and-partition
654 Common Report Var(flag_reorder_blocks_and_partition)
655 Reorder basic blocks and partition into hot and cold sections
656
657 freorder-functions
658 Common Report Var(flag_reorder_functions)
659 Reorder functions to improve code placement
660
661 frerun-cse-after-loop
662 Common Report Var(flag_rerun_cse_after_loop)
663 Add a common subexpression elimination pass after loop optimizations
664
665 frerun-loop-opt
666 Common Report Var(flag_rerun_loop_opt)
667 Run the loop optimizer twice
668
669 frounding-math
670 Common Report Var(flag_rounding_math)
671 Disable optimizations that assume default FP rounding behavior
672
673 fsched-interblock
674 Common Report Var(flag_schedule_interblock) Init(1)
675 Enable scheduling across basic blocks
676
677 fsched-spec
678 Common Report Var(flag_schedule_speculative) Init(1)
679 Allow speculative motion of non-loads
680
681 fsched-spec-load
682 Common Report Var(flag_schedule_speculative_load)
683 Allow speculative motion of some loads
684
685 fsched-spec-load-dangerous
686 Common Report Var(flag_schedule_speculative_load_dangerous)
687 Allow speculative motion of more loads
688
689 fsched-verbose=
690 Common RejectNegative Joined
691 -fsched-verbose=<number>        Set the verbosity level of the scheduler
692
693 fsched2-use-superblocks
694 Common Report Var(flag_sched2_use_superblocks)
695 If scheduling post reload, do superblock scheduling
696
697 fsched2-use-traces
698 Common Report Var(flag_sched2_use_traces)
699 If scheduling post reload, do trace scheduling
700
701 fschedule-insns
702 Common Report Var(flag_schedule_insns)
703 Reschedule instructions before register allocation
704
705 fschedule-insns2
706 Common Report Var(flag_schedule_insns_after_reload)
707 Reschedule instructions after register allocation
708
709 ; sched_stalled_insns means that insns can be moved prematurely from the queue
710 ; of stalled insns into the ready list.
711 fsched-stalled-insns
712 Common Report Var(flag_sched_stalled_insns)
713 Allow premature scheduling of queued insns
714
715 fsched-stalled-insns=
716 Common RejectNegative Joined UInteger 
717 -fsched-stalled-insns=<number>       Set number of queued insns that can be prematurely scheduled
718
719 ; sched_stalled_insns_dep controls how many recently scheduled cycles will
720 ; be examined for a dependency on a stalled insn that is candidate for
721 ; premature removal from the queue of stalled insns into the ready list (has
722 ; an effect only if the flag 'sched_stalled_insns' is set).
723 fsched-stalled-insns-dep
724 Common Report Var(flag_sched_stalled_insns_dep,1) Init(1)
725 Set dependence distance checking in premature scheduling of queued insns
726
727 fsched-stalled-insns-dep=
728 Common RejectNegative Joined UInteger
729 -fsched-stalled-insns-dep=<number>   Set dependence distance checking in premature scheduling of queued insns
730
731 fshared-data
732 Common Report Var(flag_shared_data)
733 Mark data as shared rather than private
734
735 fsignaling-nans
736 Common Report Var(flag_signaling_nans)
737 Disable optimizations observable by IEEE signaling NaNs
738
739 fsingle-precision-constant
740 Common Report Var(flag_single_precision_constant)
741 Convert floating point constants to single precision constants
742
743 fspeculative-prefetching
744 Common Report Var(flag_speculative_prefetching)
745 Use value profiling for speculative prefetching
746
747 fsplit-ivs-in-unroller
748 Common Report Var(flag_split_ivs_in_unroller) Init(1)
749 Split lifetimes of induction variables when loops are unrolled.
750
751 fvariable-expansion-in-unroller
752 Common Report Var(flag_variable_expansion_in_unroller) 
753 Apply variable expansion when loops are unrolled.
754
755 ; Emit code to probe the stack, to help detect stack overflow; also
756 ; may cause large objects to be allocated dynamically.
757 fstack-check
758 Common Report Var(flag_stack_check)
759 Insert stack checking code into the program
760
761 fstack-limit
762 Common
763
764 fstack-limit-register=
765 Common RejectNegative Joined
766 -fstack-limit-register=<register>       Trap if the stack goes past <register>
767
768 fstack-limit-symbol=
769 Common RejectNegative Joined
770 -fstack-limit-symbol=<name>     Trap if the stack goes past symbol <name>
771
772 fstrength-reduce
773 Common Report Var(flag_strength_reduce)
774 Perform strength reduction optimizations
775
776 ; Nonzero if we should do (language-dependent) alias analysis.
777 ; Typically, this analysis will assume that expressions of certain
778 ; types do not alias expressions of certain other types.  Only used
779 ; if alias analysis (in general) is enabled.
780 fstrict-aliasing
781 Common Report Var(flag_strict_aliasing)
782 Assume strict aliasing rules apply
783
784 fsyntax-only
785 Common Report Var(flag_syntax_only)
786 Check for syntax errors, then stop
787
788 ftest-coverage
789 Common Report Var(flag_test_coverage)
790 Create data files needed by \"gcov\"
791
792 fthread-jumps
793 Common Report Var(flag_thread_jumps)
794 Perform jump threading optimizations
795
796 ftime-report
797 Common Report Var(time_report)
798 Report the time taken by each compiler pass
799
800 ftls-model=
801 Common Joined RejectNegative
802 -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec]      Set the default thread-local storage code generation model
803
804 ftracer
805 Common Report Var(flag_tracer)
806 Perform superblock formation via tail duplication
807
808 ; Zero means that floating-point math operations cannot generate a
809 ; (user-visible) trap.  This is the case, for example, in nonstop
810 ; IEEE 754 arithmetic.
811 ftrapping-math
812 Common Report Var(flag_trapping_math) Init(1)
813 Assume floating-point operations can trap
814
815 ftrapv
816 Common Report Var(flag_trapv)
817 Trap for signed overflow in addition, subtraction and multiplication
818
819 ftree-based-profiling
820 Common Report Var(flag_tree_based_profiling)
821 Use tree-ssa based implementation of profiling
822
823 ftree-ccp
824 Common Report Var(flag_tree_ccp)
825 Enable SSA-CCP optimization on trees
826
827 ftree-ch
828 Common Report Var(flag_tree_ch)
829 Enable loop header copying on trees
830
831 ftree-combine-temps
832 Common Report Var(flag_tree_combine_temps)
833 Coalesce memory temporaries in the SSA->normal pass
834
835 ftree-copyrename
836 Common Report Var(flag_tree_copyrename)
837 Replace SSA temporaries with better names in copies.
838
839 ftree-dce
840 Common Report Var(flag_tree_dce)
841 Enable SSA dead code elimination optimization on trees
842
843 ftree-dominator-opts
844 Common Report Var(flag_tree_dom)
845 Enable dominator optimizations
846
847 ftree-dse
848 Common Report Var(flag_tree_dse)
849 Enable dead store elimination
850
851 ftree-fre
852 Common Report Var(flag_tree_fre)
853 Enable Full Redundancy Elimination (FRE) on trees
854
855 ftree-loop-im
856 Common Report Var(flag_tree_loop_im) Init(1)
857 Enable loop invariant motion on trees
858
859 ftree-loop-linear
860 Common Report Var(flag_tree_loop_linear)
861 Enable linear loop transforms on trees
862
863 ftree-loop-ivcanon
864 Common Report Var(flag_tree_loop_ivcanon) Init(1)
865 Create canonical induction variables in loops
866
867 ftree-loop-optimize
868 Common Report Var(flag_tree_loop_optimize) Init(1)
869 Enable loop optimizations on tree level
870
871 ftree-pre
872 Common Report Var(flag_tree_pre)
873 Enable SSA-PRE optimization on trees
874
875 ftree-sink
876 Common Report Var(flag_tree_sink)
877 Enable SSA code sinking on trees
878
879 ftree-sra
880 Common Report Var(flag_tree_sra)
881 Perform scalar replacement of aggregates
882
883 ftree-ter
884 Common Report Var(flag_tree_ter)
885 Replace temporary expressions in the SSA->normal pass
886
887 ftree-lrs
888 Common Report Var(flag_tree_live_range_split)
889 Perform live range splitting during the SSA->normal pass.
890
891 funit-at-a-time
892 Common Report Var(flag_unit_at_a_time)
893 Compile whole compilation unit at a time
894
895 funroll-loops
896 Common Report Var(flag_unroll_loops)
897 Perform loop unrolling when iteration count is known
898
899 funroll-all-loops
900 Common Report Var(flag_unroll_all_loops)
901 Perform loop unrolling for all loops
902
903 ; Nonzero means that unsafe floating-point math optimizations are allowed
904 ; for the sake of speed.  IEEE compliance is not guaranteed, and operations
905 ; are allowed to assume that their arguments and results are "normal"
906 ; (e.g., nonnegative for SQRT).
907 funsafe-math-optimizations
908 Common Report Var(flag_unsafe_math_optimizations)
909 Allow math optimizations that may violate IEEE or ISO standards
910
911 funswitch-loops
912 Common Report Var(flag_unswitch_loops)
913 Perform loop unswitching
914
915 funwind-tables
916 Common Report Var(flag_unwind_tables)
917 Just generate unwind tables for exception handling
918
919 fvar-tracking
920 Common Report Var(flag_var_tracking) VarExists
921 Perform variable tracking
922
923 ftree-vectorize
924 Common Report Var(flag_tree_vectorize)
925 Enable loop vectorization on trees
926
927 ftree-vectorizer-verbose=
928 Common RejectNegative Joined
929 -ftree-vectorizer-verbose=<number>   Set the verbosity level of the vectorizer
930
931 ; -fverbose-asm causes extra commentary information to be produced in
932 ; the generated assembly code (to make it more readable).  This option
933 ; is generally only of use to those who actually need to read the
934 ; generated assembly code (perhaps while debugging the compiler itself).
935 ; -fno-verbose-asm, the default, causes the extra information
936 ; to not be added and is useful when comparing two assembler files.
937 fverbose-asm
938 Common Report Var(flag_verbose_asm)
939 Add extra commentary to assembler output
940
941 fvisibility=
942 Common Joined RejectNegative
943 -fvisibility=[default|internal|hidden|protected]        Set the default symbol visibility
944
945
946 fvpt
947 Common Report Var(flag_value_profile_transformations)
948 Use expression value profiles in optimizations
949
950 fweb
951 Common Report Var(flag_web) Init(0)
952 Construct webs and split unrelated uses of single variable
953
954 fwrapv
955 Common Report Var(flag_wrapv)
956 Assume signed arithmetic overflow wraps around
957
958 fzero-initialized-in-bss
959 Common Report Var(flag_zero_initialized_in_bss) Init(1)
960 Put zero initialized data in the bss section
961
962 g
963 Common JoinedOrMissing
964 Generate debug information in default format
965
966 gcoff
967 Common JoinedOrMissing
968 Generate debug information in COFF format
969
970 gdwarf-2
971 Common JoinedOrMissing
972 Generate debug information in DWARF v2 format
973
974 ggdb
975 Common JoinedOrMissing
976 Generate debug information in default extended format
977
978 gstabs
979 Common JoinedOrMissing
980 Generate debug information in STABS format
981
982 gstabs+
983 Common JoinedOrMissing
984 Generate debug information in extended STABS format
985
986 gvms
987 Common JoinedOrMissing
988 Generate debug information in VMS format
989
990 gxcoff
991 Common JoinedOrMissing
992 Generate debug information in XCOFF format
993
994 gxcoff+
995 Common JoinedOrMissing
996 Generate debug information in extended XCOFF format
997
998 m
999 Common Joined
1000
1001 o
1002 Common Joined Separate
1003 -o <file>       Place output into <file>
1004
1005 p
1006 Common Var(profile_flag)
1007 Enable function profiling
1008
1009 pedantic
1010 Common Var(pedantic)
1011 Issue warnings needed for strict compliance to the standard
1012
1013 pedantic-errors
1014 Common
1015 Like -pedantic but issue them as errors
1016
1017 quiet
1018 Common Var(quiet_flag)
1019 Do not display functions compiled or elapsed time
1020
1021 version
1022 Common Var(version_flag)
1023 Display the compiler's version
1024
1025 w
1026 Common Var(inhibit_warnings)
1027 Suppress warnings
1028
1029 ; This comment is to ensure we retain the blank line above.