]>
Commit | Line | Data |
---|---|---|
d7b42618 NB |
1 | ; Options for the language- and target-independent parts of the compiler. |
2 | ; Copyright (C) 2003 Free Software Foundation, Inc. | |
3 | ; | |
4 | ; This file is part of GCC. | |
5 | ; | |
6 | ; GCC is free software; you can redistribute it and/or modify it under | |
7 | ; the terms of the GNU General Public License as published by the Free | |
8 | ; Software Foundation; either version 2, or (at your option) any later | |
9 | ; version. | |
10 | ; | |
11 | ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
12 | ; WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | ; for more details. | |
15 | ; | |
16 | ; You should have received a copy of the GNU General Public License | |
17 | ; along with GCC; see the file COPYING. If not, write to the Free | |
18 | ; Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
19 | ; 02111-1307, USA. | |
20 | ||
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 | ||
182 | falign-functions | |
183 | Common | |
f3fdaec4 | 184 | Align the start of functions |
6ff3a151 | 185 | |
058de654 NB |
186 | falign-functions= |
187 | Common RejectNegative Joined UInteger | |
188 | ||
6ff3a151 NB |
189 | falign-jumps |
190 | Common | |
f3fdaec4 | 191 | Align labels which are only reached by jumping |
6ff3a151 | 192 | |
058de654 NB |
193 | falign-jumps= |
194 | Common RejectNegative Joined UInteger | |
195 | ||
6ff3a151 NB |
196 | falign-labels |
197 | Common | |
f3fdaec4 | 198 | Align all labels |
6ff3a151 | 199 | |
058de654 NB |
200 | falign-labels= |
201 | Common RejectNegative Joined UInteger | |
202 | ||
6ff3a151 NB |
203 | falign-loops |
204 | Common | |
f3fdaec4 | 205 | Align the start of loops |
6ff3a151 | 206 | |
058de654 NB |
207 | falign-loops= |
208 | Common RejectNegative Joined UInteger | |
209 | ||
6ff3a151 NB |
210 | fargument-alias |
211 | Common | |
f3fdaec4 | 212 | Specify that arguments may alias each other and globals |
6ff3a151 NB |
213 | |
214 | fargument-noalias | |
215 | Common | |
f3fdaec4 | 216 | Assume arguments may alias globals but not each other |
6ff3a151 NB |
217 | |
218 | fargument-noalias-global | |
219 | Common | |
f3fdaec4 | 220 | Assume arguments alias neither each other nor globals |
6ff3a151 NB |
221 | |
222 | fasynchronous-unwind-tables | |
223 | Common | |
f3fdaec4 | 224 | Generate unwind tables that are exact at each instruction boundary |
6ff3a151 NB |
225 | |
226 | fbounds-check | |
227 | Common | |
f3fdaec4 | 228 | Generate code to check bounds before indexing arrays |
6ff3a151 NB |
229 | |
230 | fbranch-count-reg | |
231 | Common | |
f3fdaec4 | 232 | Replace add, compare, branch with branch on count register |
6ff3a151 NB |
233 | |
234 | fbranch-probabilities | |
235 | Common | |
f3fdaec4 | 236 | Use profiling information for branch probabilities |
6ff3a151 | 237 | |
de32c0cb NB |
238 | fbranch-target-load-optimize |
239 | Common | |
f3fdaec4 | 240 | Perform branch target load optimization before prologue / epilogue threading |
de32c0cb NB |
241 | |
242 | fbranch-target-load-optimize2 | |
243 | Common | |
f3fdaec4 | 244 | Perform branch target load optimization after prologue / epilogue threading |
de32c0cb | 245 | |
058de654 NB |
246 | fcall-saved- |
247 | Common Joined RejectNegative | |
cf03fd63 | 248 | -fcall-saved-<register> Mark <register> as being preserved across functions |
058de654 NB |
249 | |
250 | fcall-used- | |
251 | Common Joined RejectNegative | |
cf03fd63 | 252 | -fcall-used-<register> Mark <register> as being corrupted by function calls |
058de654 | 253 | |
de32c0cb NB |
254 | fcaller-saves |
255 | Common | |
f3fdaec4 | 256 | Save registers around function calls |
de32c0cb | 257 | |
6ff3a151 NB |
258 | fcommon |
259 | Common | |
f3fdaec4 | 260 | Do not put uninitialized globals in the common section |
6ff3a151 NB |
261 | |
262 | fcprop-registers | |
263 | Common | |
f3fdaec4 | 264 | Perform a register copy-propagation optimization pass |
6ff3a151 | 265 | |
de32c0cb NB |
266 | fcrossjumping |
267 | Common | |
f3fdaec4 | 268 | Perform cross-jumping optimization |
de32c0cb NB |
269 | |
270 | fcse-follow-jumps | |
271 | Common | |
f3fdaec4 | 272 | When running CSE, follow jumps to their targets |
de32c0cb NB |
273 | |
274 | fcse-skip-blocks | |
275 | Common | |
f3fdaec4 | 276 | When running CSE, follow conditional jumps |
de32c0cb | 277 | |
6ff3a151 NB |
278 | fdata-sections |
279 | Common | |
f3fdaec4 | 280 | Place data items into their own section |
6ff3a151 | 281 | |
de32c0cb NB |
282 | fdefer-pop |
283 | Common | |
f3fdaec4 | 284 | Defer popping functions args from stack until later |
de32c0cb NB |
285 | |
286 | fdelayed-branch | |
287 | Common | |
f3fdaec4 | 288 | Attempt to fill delay slots of branch instructions |
de32c0cb NB |
289 | |
290 | fdelete-null-pointer-checks | |
291 | Common | |
f3fdaec4 | 292 | Delete useless null pointer checks |
de32c0cb NB |
293 | |
294 | fdiagnostics-show-location= | |
295 | Common Joined RejectNegative | |
cf03fd63 | 296 | -fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics |
de32c0cb | 297 | |
6ff3a151 NB |
298 | fdump-unnumbered |
299 | Common | |
f3fdaec4 | 300 | Suppress output of instruction numbers and line number notes in debugging dumps |
6ff3a151 | 301 | |
de32c0cb NB |
302 | feliminate-dwarf2-dups |
303 | Common | |
f3fdaec4 | 304 | Perform DWARF2 duplicate elimination |
de32c0cb | 305 | |
6a08f7b3 DP |
306 | feliminate-unused-debug-symbols |
307 | Common | |
f3fdaec4 | 308 | Perform unused type elimination in debug info |
6a08f7b3 | 309 | |
de32c0cb NB |
310 | feliminate-unused-debug-types |
311 | Common | |
f3fdaec4 | 312 | Perform unused type elimination in debug info |
de32c0cb | 313 | |
6ff3a151 NB |
314 | fexceptions |
315 | Common | |
f3fdaec4 | 316 | Enable exception handling |
6ff3a151 | 317 | |
de32c0cb NB |
318 | fexpensive-optimizations |
319 | Common | |
f3fdaec4 | 320 | Perform a number of minor, expensive optimizations |
de32c0cb | 321 | |
058de654 NB |
322 | ffast-math |
323 | Common | |
324 | ||
6ff3a151 NB |
325 | ffinite-math-only |
326 | Common | |
f3fdaec4 | 327 | Assume no NaNs or infinities are generated |
6ff3a151 | 328 | |
058de654 NB |
329 | ffixed- |
330 | Common Joined RejectNegative | |
cf03fd63 | 331 | -ffixed-<register> Mark <register> as being unavailable to the compiler |
058de654 | 332 | |
de32c0cb NB |
333 | ffloat-store |
334 | Common | |
f3fdaec4 | 335 | Do not store floats in registers |
de32c0cb NB |
336 | |
337 | fforce-addr | |
338 | Common | |
f3fdaec4 | 339 | Copy memory address constants into registers before use |
de32c0cb NB |
340 | |
341 | fforce-mem | |
342 | Common | |
f3fdaec4 | 343 | Copy memory operands into registers before use |
de32c0cb NB |
344 | |
345 | ffunction-cse | |
346 | Common | |
f3fdaec4 | 347 | Allow function addresses to be held in registers |
de32c0cb | 348 | |
6ff3a151 NB |
349 | ffunction-sections |
350 | Common | |
f3fdaec4 | 351 | Place each function into its own section |
6ff3a151 | 352 | |
de32c0cb NB |
353 | fgcse |
354 | Common | |
f3fdaec4 | 355 | Perform global common subexpression elimination |
de32c0cb NB |
356 | |
357 | fgcse-lm | |
358 | Common | |
f3fdaec4 | 359 | Perform enhanced load motion during global common subexpression elimination |
de32c0cb NB |
360 | |
361 | fgcse-sm | |
362 | Common | |
f3fdaec4 | 363 | Perform store motion after global common subexpression elimination |
de32c0cb | 364 | |
6ff3a151 NB |
365 | fgnu-linker |
366 | Common | |
f3fdaec4 | 367 | Output GNU ld formatted global initializers |
6ff3a151 NB |
368 | |
369 | fguess-branch-probability | |
370 | Common | |
f3fdaec4 | 371 | Enable guessing of branch probabilities |
6ff3a151 NB |
372 | |
373 | fident | |
374 | Common | |
f3fdaec4 | 375 | Process #ident directives |
6ff3a151 | 376 | |
de32c0cb NB |
377 | fif-conversion |
378 | Common | |
f3fdaec4 | 379 | Perform conversion of conditional jumps to branchless equivalents |
de32c0cb NB |
380 | |
381 | fif-conversion2 | |
382 | Common | |
f3fdaec4 | 383 | Perform conversion of conditional jumps to conditional execution |
de32c0cb | 384 | |
6ff3a151 NB |
385 | finhibit-size-directive |
386 | Common | |
f3fdaec4 | 387 | Do not generate .size directives |
6ff3a151 | 388 | |
de32c0cb NB |
389 | finline |
390 | Common | |
f3fdaec4 | 391 | Pay attention to the \"inline\" keyword |
de32c0cb NB |
392 | |
393 | finline-functions | |
394 | Common | |
f3fdaec4 | 395 | Integrate simple functions into their callers |
de32c0cb | 396 | |
d302c9d6 NB |
397 | finline-limit- |
398 | Common RejectNegative Joined UInteger | |
399 | ||
400 | finline-limit= | |
401 | Common RejectNegative Joined UInteger | |
cf03fd63 | 402 | -finline-limit=<number> Limit the size of inlined functions to <number> |
d302c9d6 | 403 | |
6ff3a151 NB |
404 | finstrument-functions |
405 | Common | |
f3fdaec4 | 406 | Instrument function entry and exit with profiling calls |
6ff3a151 | 407 | |
de32c0cb NB |
408 | fkeep-inline-functions |
409 | Common | |
f3fdaec4 | 410 | Generate code for functions even if they are fully inlined |
de32c0cb NB |
411 | |
412 | fkeep-static-consts | |
413 | Common | |
f3fdaec4 | 414 | Emit static const variables even if they are not used |
de32c0cb | 415 | |
6ff3a151 NB |
416 | fleading-underscore |
417 | Common | |
f3fdaec4 | 418 | Give external symbols a leading underscore |
6ff3a151 | 419 | |
de32c0cb NB |
420 | floop-optimize |
421 | Common | |
f3fdaec4 | 422 | Perform loop optimizations |
de32c0cb | 423 | |
6ff3a151 NB |
424 | fmath-errno |
425 | Common | |
f3fdaec4 | 426 | Set errno after built-in math functions |
6ff3a151 NB |
427 | |
428 | fmem-report | |
429 | Common | |
f3fdaec4 | 430 | Report on permanent memory allocation |
6ff3a151 NB |
431 | |
432 | fmerge-all-constants | |
433 | Common | |
f3fdaec4 | 434 | Attempt to merge identical constants and constant variables |
6ff3a151 NB |
435 | |
436 | fmerge-constants | |
437 | Common | |
f3fdaec4 | 438 | Attempt to merge identical constants across compilation units |
6ff3a151 | 439 | |
de32c0cb NB |
440 | fmessage-length= |
441 | Common RejectNegative Joined UInteger | |
cf03fd63 | 442 | -fmessage-length=<number> Limit diagnostics to <number> characters per line. 0 suppresses line-wrapping |
de32c0cb NB |
443 | |
444 | fmove-all-movables | |
445 | Common | |
f3fdaec4 | 446 | Force all loop invariant computations out of loops |
de32c0cb | 447 | |
6ff3a151 NB |
448 | fnew-ra |
449 | Common | |
f3fdaec4 | 450 | Use graph-coloring register allocation |
6ff3a151 NB |
451 | |
452 | fnon-call-exceptions | |
453 | Common | |
f3fdaec4 | 454 | Support synchronous non-call exceptions |
6ff3a151 | 455 | |
de32c0cb NB |
456 | fold-unroll-loops |
457 | Common | |
f3fdaec4 | 458 | Perform loop unrolling when iteration count is known |
de32c0cb NB |
459 | |
460 | fold-unroll-all-loops | |
461 | Common | |
f3fdaec4 | 462 | Perform loop unrolling for all loops |
de32c0cb NB |
463 | |
464 | fomit-frame-pointer | |
465 | Common | |
f3fdaec4 | 466 | When possible do not generate stack frames |
de32c0cb | 467 | |
6ff3a151 NB |
468 | foptimize-register-move |
469 | Common | |
f3fdaec4 | 470 | Do the full register move optimization pass |
6ff3a151 | 471 | |
de32c0cb NB |
472 | foptimize-sibling-calls |
473 | Common | |
f3fdaec4 | 474 | Optimize sibling and tail recursive calls |
de32c0cb | 475 | |
6ff3a151 NB |
476 | fpack-struct |
477 | Common | |
f3fdaec4 | 478 | Pack structure members together without holes |
6ff3a151 | 479 | |
de32c0cb NB |
480 | fpcc-struct-return |
481 | Common | |
f3fdaec4 | 482 | Return small aggregates in memory, not registers |
de32c0cb NB |
483 | |
484 | fpeel-loops | |
485 | Common | |
f3fdaec4 | 486 | Perform loop peeling |
de32c0cb NB |
487 | |
488 | fpeephole | |
489 | Common | |
f3fdaec4 | 490 | Enable machine specific peephole optimizations |
de32c0cb | 491 | |
6ff3a151 NB |
492 | fpeephole2 |
493 | Common | |
f3fdaec4 | 494 | Enable an RTL peephole pass before sched2 |
6ff3a151 NB |
495 | |
496 | fpic | |
497 | Common | |
f3fdaec4 | 498 | Generate position-independent code if possible |
6ff3a151 NB |
499 | |
500 | fpie | |
501 | Common | |
f3fdaec4 | 502 | Generate position-independent code for executables if possible |
6ff3a151 | 503 | |
de32c0cb NB |
504 | fprefetch-loop-arrays |
505 | Common | |
f3fdaec4 | 506 | Generate prefetch instructions, if available, for arrays in loops |
de32c0cb | 507 | |
6ff3a151 NB |
508 | fprofile |
509 | Common | |
f3fdaec4 | 510 | Enable basic program profiling code |
6ff3a151 NB |
511 | |
512 | fprofile-arcs | |
513 | Common | |
f3fdaec4 | 514 | Insert arc-based program profiling code |
6ff3a151 | 515 | |
de32c0cb NB |
516 | frandom-seed |
517 | Common | |
518 | ||
519 | frandom-seed= | |
520 | Common Joined RejectNegative | |
cf03fd63 | 521 | -frandom-seed=<string> Make compile reproducible using <string> |
de32c0cb NB |
522 | |
523 | freduce-all-givs | |
524 | Common | |
f3fdaec4 | 525 | Strength reduce all loop general induction variables |
de32c0cb NB |
526 | |
527 | freg-struct-return | |
528 | Common | |
f3fdaec4 | 529 | Return small aggregates in registers |
de32c0cb | 530 | |
6ff3a151 NB |
531 | fregmove |
532 | Common | |
f3fdaec4 | 533 | Enables a register move optimization |
6ff3a151 NB |
534 | |
535 | frename-registers | |
536 | Common | |
f3fdaec4 | 537 | Perform a register renaming optimization pass |
6ff3a151 NB |
538 | |
539 | freorder-blocks | |
540 | Common | |
f3fdaec4 | 541 | Reorder basic blocks to improve code placement |
6ff3a151 NB |
542 | |
543 | freorder-functions | |
544 | Common | |
f3fdaec4 | 545 | Reorder functions to improve code placement |
6ff3a151 | 546 | |
de32c0cb NB |
547 | frerun-cse-after-loop |
548 | Common | |
f3fdaec4 | 549 | Add a common subexpression elimination pass after loop optimizations |
de32c0cb NB |
550 | |
551 | frerun-loop-opt | |
552 | Common | |
f3fdaec4 | 553 | Run the loop optimizer twice |
de32c0cb | 554 | |
039c3d42 RS |
555 | frounding-math |
556 | Common | |
557 | Disable optimizations that assume default FP rounding behavior | |
558 | ||
6ff3a151 NB |
559 | fsched-interblock |
560 | Common | |
f3fdaec4 | 561 | Enable scheduling across basic blocks |
6ff3a151 NB |
562 | |
563 | fsched-spec | |
564 | Common | |
f3fdaec4 | 565 | Allow speculative motion of non-loads |
6ff3a151 NB |
566 | |
567 | fsched-spec-load | |
568 | Common | |
f3fdaec4 | 569 | Allow speculative motion of some loads |
6ff3a151 NB |
570 | |
571 | fsched-spec-load-dangerous | |
572 | Common | |
f3fdaec4 | 573 | Allow speculative motion of more loads |
6ff3a151 | 574 | |
de32c0cb NB |
575 | fsched-verbose= |
576 | Common RejectNegative Joined | |
cf03fd63 | 577 | -fsched-verbose=<number> Set the verbosity level of the scheduler |
de32c0cb | 578 | |
6ff3a151 NB |
579 | fsched2-use-superblocks |
580 | Common | |
f3fdaec4 | 581 | If scheduling post reload, do superblock scheduling |
6ff3a151 NB |
582 | |
583 | fsched2-use-traces | |
584 | Common | |
f3fdaec4 | 585 | If scheduling post reload, do trace scheduling |
6ff3a151 | 586 | |
de32c0cb NB |
587 | fschedule-insns |
588 | Common | |
f3fdaec4 | 589 | Reschedule instructions before register allocation |
de32c0cb NB |
590 | |
591 | fschedule-insns2 | |
592 | Common | |
f3fdaec4 | 593 | Reschedule instructions after register allocation |
de32c0cb | 594 | |
569fa502 DN |
595 | fsched-stalled-insns |
596 | Common | |
597 | Allow premature scheduling of queued insns | |
598 | ||
599 | fsched-stalled-insns= | |
600 | Common RejectNegative Joined UInteger | |
601 | -fsched-stalled-insns=<number> Set number of queued insns that can be prematurely scheduled | |
602 | ||
603 | fsched-stalled-insns-dep | |
604 | Common | |
605 | Set dependence distance checking in premature scheduling of queued insns | |
606 | ||
607 | fsched-stalled-insns-dep= | |
608 | Common RejectNegative Joined UInteger | |
609 | -fsched-stalled-insns-dep=<number> Set dependence distance checking in premature scheduling of queued insns | |
610 | ||
de32c0cb NB |
611 | fshared-data |
612 | Common | |
f3fdaec4 | 613 | Mark data as shared rather than private |
de32c0cb | 614 | |
6ff3a151 NB |
615 | fsignaling-nans |
616 | Common | |
f3fdaec4 | 617 | Disable optimizations observable by IEEE signaling NaNs |
6ff3a151 NB |
618 | |
619 | fsingle-precision-constant | |
620 | Common | |
f3fdaec4 | 621 | Convert floating point constants to single precision constants |
6ff3a151 NB |
622 | |
623 | fssa | |
624 | Common | |
f3fdaec4 | 625 | Enable static single assignment optimizations |
6ff3a151 NB |
626 | |
627 | fssa-ccp | |
628 | Common | |
f3fdaec4 | 629 | Enable SSA conditional constant propagation |
6ff3a151 NB |
630 | |
631 | fssa-dce | |
632 | Common | |
f3fdaec4 | 633 | Enable aggressive SSA dead code elimination |
6ff3a151 NB |
634 | |
635 | fstack-check | |
636 | Common | |
f3fdaec4 | 637 | Insert stack checking code into the program |
6ff3a151 | 638 | |
de32c0cb NB |
639 | fstack-limit |
640 | Common | |
641 | ||
058de654 NB |
642 | fstack-limit-register= |
643 | Common RejectNegative Joined | |
cf03fd63 | 644 | -fstack-limit-register=<register> Trap if the stack goes past <register> |
058de654 NB |
645 | |
646 | fstack-limit-symbol= | |
647 | Common RejectNegative Joined | |
cf03fd63 | 648 | -fstack-limit-symbol=<name> Trap if the stack goes past symbol <name> |
058de654 | 649 | |
de32c0cb NB |
650 | fstrength-reduce |
651 | Common | |
f3fdaec4 | 652 | Perform strength reduction optimizations |
de32c0cb | 653 | |
6ff3a151 NB |
654 | fstrict-aliasing |
655 | Common | |
f3fdaec4 | 656 | Assume strict aliasing rules apply |
6ff3a151 | 657 | |
de32c0cb NB |
658 | fsyntax-only |
659 | Common | |
f3fdaec4 | 660 | Check for syntax errors, then stop |
de32c0cb | 661 | |
6ff3a151 NB |
662 | ftest-coverage |
663 | Common | |
f3fdaec4 | 664 | Create data files needed by \"gcov\" |
6ff3a151 | 665 | |
de32c0cb NB |
666 | fthread-jumps |
667 | Common | |
f3fdaec4 | 668 | Perform jump threading optimizations |
de32c0cb | 669 | |
6ff3a151 NB |
670 | ftime-report |
671 | Common | |
f3fdaec4 | 672 | Report the time taken by each compiler pass |
6ff3a151 | 673 | |
058de654 NB |
674 | ftls-model= |
675 | Common Joined RejectNegative | |
cf03fd63 | 676 | -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec] Set the default thread-local storage code generation model |
058de654 | 677 | |
de32c0cb NB |
678 | ftracer |
679 | Common | |
f3fdaec4 | 680 | Perform superblock formation via tail duplication |
de32c0cb | 681 | |
6ff3a151 NB |
682 | ftrapping-math |
683 | Common | |
f3fdaec4 | 684 | Assume floating-point operations can trap |
6ff3a151 NB |
685 | |
686 | ftrapv | |
687 | Common | |
f3fdaec4 | 688 | Trap for signed overflow in addition, subtraction and multiplication |
6ff3a151 | 689 | |
de32c0cb NB |
690 | funit-at-a-time |
691 | Common | |
f3fdaec4 | 692 | Compile whole compilation unit at a time |
de32c0cb NB |
693 | |
694 | funroll-loops | |
695 | Common | |
f3fdaec4 | 696 | Perform loop unrolling when iteration count is known |
de32c0cb NB |
697 | |
698 | funroll-all-loops | |
699 | Common | |
f3fdaec4 | 700 | Perform loop unrolling for all loops |
de32c0cb | 701 | |
6ff3a151 NB |
702 | funsafe-math-optimizations |
703 | Common | |
f3fdaec4 | 704 | Allow math optimizations that may violate IEEE or ISO standards |
6ff3a151 | 705 | |
de32c0cb NB |
706 | funswitch-loops |
707 | Common | |
f3fdaec4 | 708 | Perform loop unswitching |
de32c0cb | 709 | |
6ff3a151 NB |
710 | funwind-tables |
711 | Common | |
f3fdaec4 | 712 | Just generate unwind tables for exception handling |
6ff3a151 NB |
713 | |
714 | fverbose-asm | |
715 | Common | |
f3fdaec4 | 716 | Add extra commentary to assembler output |
6ff3a151 | 717 | |
62551c66 JH |
718 | fweb |
719 | Common | |
720 | Construct webs and split unrelated uses of single variable | |
721 | ||
6ff3a151 NB |
722 | fwrapv |
723 | Common | |
f3fdaec4 | 724 | Assume signed arithmetic overflow wraps around |
6ff3a151 | 725 | |
de32c0cb NB |
726 | fwritable-strings |
727 | Common | |
f3fdaec4 | 728 | Store strings in writable data section |
de32c0cb | 729 | |
6ff3a151 NB |
730 | fzero-initialized-in-bss |
731 | Common | |
f3fdaec4 | 732 | Put zero initialized data in the bss section |
6ff3a151 | 733 | |
e01cc6dc NB |
734 | g |
735 | Common JoinedOrMissing | |
df38ffef NB |
736 | Generate debug information in default format |
737 | ||
738 | gcoff | |
739 | Common JoinedOrMissing | |
740 | Generate debug information in COFF format | |
741 | ||
742 | gdwarf | |
743 | Common JoinedOrMissing | |
744 | Generate debug information in DWARF v1 format | |
745 | ||
746 | gdwarf+ | |
747 | Common JoinedOrMissing | |
748 | Generate debug information in extended DWARF v1 format | |
749 | ||
750 | gdwarf-2 | |
751 | Common JoinedOrMissing | |
752 | Generate debug information in DWARF v2 format | |
753 | ||
754 | ggdb | |
755 | Common JoinedOrMissing | |
756 | Generate debug information in default extended format | |
757 | ||
758 | gstabs | |
759 | Common JoinedOrMissing | |
760 | Generate debug information in STABS format | |
761 | ||
762 | gstabs+ | |
763 | Common JoinedOrMissing | |
764 | Generate debug information in extended STABS format | |
765 | ||
766 | gvms | |
767 | Common JoinedOrMissing | |
768 | Generate debug information in VMS format | |
769 | ||
770 | gxcoff | |
771 | Common JoinedOrMissing | |
772 | Generate debug information in XCOFF format | |
773 | ||
774 | gxcoff+ | |
775 | Common JoinedOrMissing | |
776 | Generate debug information in extended XCOFF format | |
e01cc6dc | 777 | |
903caebf NB |
778 | m |
779 | Common Joined | |
780 | ||
d185d268 NB |
781 | o |
782 | Common Joined Separate | |
cf03fd63 | 783 | -o <file> Place output into <file> |
d185d268 NB |
784 | |
785 | p | |
786 | Common | |
cf03fd63 | 787 | Enable function profiling |
d185d268 NB |
788 | |
789 | pedantic | |
790 | Common | |
cf03fd63 | 791 | Issue warnings needed for strict compliance to the standard |
d185d268 NB |
792 | |
793 | pedantic-errors | |
794 | Common | |
cf03fd63 | 795 | Like -pedantic but issue them as errors |
d185d268 | 796 | |
d7b42618 NB |
797 | quiet |
798 | Common | |
cf03fd63 | 799 | Do not display functions compiled or elapsed time |
d7b42618 | 800 | |
d185d268 NB |
801 | version |
802 | Common | |
cf03fd63 | 803 | Display the compiler's version |
d185d268 NB |
804 | |
805 | w | |
806 | Common | |
cf03fd63 | 807 | Suppress warnings |
d185d268 | 808 | |
d7b42618 | 809 | ; This comment is to ensure we retain the blank line above. |