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