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