OSDN Git Service

* toplev.c (warn_dummy, W_options): Die.
[pf3gnuchains/gcc-fork.git] / gcc / common.opt
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
21 ; See c.opt for a description of this file's format.
22
23 ; Please try to keep this file in ASCII collating order.
24
25 -help
26 Common
27 Display this information
28
29 -param
30 Common Separate
31
32 -target-help
33 Common
34
35 -version
36 Common
37
38 G
39 Common Joined Separate UInteger
40 -G<number>      Put global and static data smaller than <number> bytes into a special section (on some targets)
41
42 O
43 Common JoinedOrMissing
44 -O<number>      Set optimization level to <number>
45
46 Os
47 Common
48 Optimize for space rather than speed
49
50 W
51 Common RejectNegative
52 This switch is deprecated; use -Wextra instead
53
54 Waggregate-return
55 Common
56 Warn about returning structures, unions or arrays
57
58 Wcast-align
59 Common
60 Warn about pointer casts which increase alignment
61
62 Wdeprecated-declarations
63 Common
64 Warn about uses of __attribute__((deprecated)) declarations
65
66 Wdisabled-optimization
67 Common
68 Warn when an optimization pass is disabled
69
70 Werror
71 Common
72 Treat all warnings as errors
73
74 Wextra
75 Common
76 Print extra (possibly unwanted) warnings
77
78 Winline
79 Common
80 Warn when an inlined function cannot be inlined
81
82 Wlarger-than-
83 Common RejectNegative Joined UInteger
84 -Wlarger-than-<number>  Warn if an object is larger than <number> bytes
85
86 Wmissing-noreturn
87 Common
88 Warn about functions which might be candidates for __attribute__((noreturn))
89
90 Wpacked
91 Common
92 Warn when the packed attribute has no effect on struct layout
93
94 Wpadded
95 Common
96 Warn when padding is required to align structure members
97
98 Wshadow
99 Common
100 Warn when one local variable shadows another
101
102 Wstrict-aliasing
103 Common
104 Warn about code which might break strict aliasing rules
105
106 Wswitch
107 Common
108 Warn about enumerated switches, with no default, missing a case
109
110 Wswitch-default
111 Common
112 Warn about enumerated switches missing a \"default:\" statement
113
114 Wswitch-enum
115 Common
116 Warn about all enumerated switches missing a specific case
117
118 Wsystem-headers
119 Common
120 Suppress warnings from system headers
121
122 Wuninitialized
123 Common
124 Warn about uninitialized automatic variables
125
126 Wunreachable-code
127 Common
128 Warn about code that will never be executed
129
130 Wunused
131 Common
132 Enable all -Wunused- warnings
133
134 Wunused-function
135 Common
136 Warn when a function is unused
137
138 Wunused-label
139 Common
140 Warn when a label is unused
141
142 Wunused-parameter
143 Common
144 Warn when a function parameter is unused
145
146 Wunused-value
147 Common
148 Warn when an expression value is unused
149
150 Wunused-variable
151 Common
152 Warn when a variable is unused
153
154 aux-info
155 Common Separate
156 -aux-info <file>        Emit declaration information into <file>
157
158 aux-info=
159 Common Joined
160
161 auxbase
162 Common Separate
163
164 auxbase-strip
165 Common Separate
166
167 d
168 Common Joined
169 -d<letters>     Enable dumps from specific passes of the compiler
170
171 dumpbase
172 Common Separate
173 -dumpbase <file>        Set the file basename to be used for dumps
174
175 fPIC
176 Common
177
178 fPIE
179 Common
180
181 falign-functions
182 Common
183
184 falign-functions=
185 Common RejectNegative Joined UInteger
186
187 falign-jumps
188 Common
189
190 falign-jumps=
191 Common RejectNegative Joined UInteger
192
193 falign-labels
194 Common
195
196 falign-labels=
197 Common RejectNegative Joined UInteger
198
199 falign-loops
200 Common
201
202 falign-loops=
203 Common RejectNegative Joined UInteger
204
205 fargument-alias
206 Common
207
208 fargument-noalias
209 Common
210
211 fargument-noalias-global
212 Common
213
214 fasynchronous-unwind-tables
215 Common
216
217 fbounds-check
218 Common
219
220 fbranch-count-reg
221 Common
222
223 fbranch-probabilities
224 Common
225
226 fbranch-target-load-optimize
227 Common
228
229 fbranch-target-load-optimize2
230 Common
231
232 fcall-saved-
233 Common Joined RejectNegative
234 -fcall-saved-<register> Mark <register> as being preserved across functions
235
236 fcall-used-
237 Common Joined RejectNegative
238 -fcall-used-<register>  Mark <register> as being corrupted by function calls
239
240 fcaller-saves
241 Common
242
243 fcommon
244 Common
245
246 fcprop-registers
247 Common
248
249 fcrossjumping
250 Common
251
252 fcse-follow-jumps
253 Common
254
255 fcse-skip-blocks
256 Common
257
258 fdata-sections
259 Common
260
261 fdefer-pop
262 Common
263
264 fdelayed-branch
265 Common
266
267 fdelete-null-pointer-checks
268 Common
269
270 fdiagnostics-show-location=
271 Common Joined RejectNegative
272 -fdiagnostics-show-location=[once|every-line]   How often to emit source location at the beginning of line-wrapped diagnostics
273
274 fdump-unnumbered
275 Common
276
277 feliminate-dwarf2-dups
278 Common
279
280 feliminate-unused-debug-symbols
281 Common
282
283 feliminate-unused-debug-types
284 Common
285
286 fexceptions
287 Common
288
289 fexpensive-optimizations
290 Common
291
292 ffast-math
293 Common
294
295 ffinite-math-only
296 Common
297
298 ffixed-
299 Common Joined RejectNegative
300 -ffixed-<register>      Mark <register> as being unavailable to the compiler
301
302 ffloat-store
303 Common
304
305 fforce-addr
306 Common
307
308 fforce-mem
309 Common
310
311 ffunction-cse
312 Common
313
314 ffunction-sections
315 Common
316
317 fgcse
318 Common
319
320 fgcse-lm
321 Common
322
323 fgcse-sm
324 Common
325
326 fgnu-linker
327 Common
328
329 fguess-branch-probability
330 Common
331
332 fident
333 Common
334
335 fif-conversion
336 Common
337
338 fif-conversion2
339 Common
340
341 finhibit-size-directive
342 Common
343
344 finline
345 Common
346
347 finline-functions
348 Common
349
350 finline-limit-
351 Common RejectNegative Joined UInteger
352
353 finline-limit=
354 Common RejectNegative Joined UInteger
355 -finline-limit=<number> Limit the size of inlined functions to <number>
356
357 finstrument-functions
358 Common
359
360 fkeep-inline-functions
361 Common
362
363 fkeep-static-consts
364 Common
365
366 fleading-underscore
367 Common
368
369 floop-optimize
370 Common
371
372 fmath-errno
373 Common
374
375 fmem-report
376 Common
377
378 fmerge-all-constants
379 Common
380
381 fmerge-constants
382 Common
383
384 fmessage-length=
385 Common RejectNegative Joined UInteger
386 -fmessage-length=<number>       Limit diagnostics to <number> characters per line.  0 suppresses line-wrapping
387
388 fmove-all-movables
389 Common
390
391 fnew-ra
392 Common
393
394 fnon-call-exceptions
395 Common
396
397 fold-unroll-loops
398 Common
399
400 fold-unroll-all-loops
401 Common
402
403 fomit-frame-pointer
404 Common
405
406 foptimize-register-move
407 Common
408
409 foptimize-sibling-calls
410 Common
411
412 fpack-struct
413 Common
414
415 fpcc-struct-return
416 Common
417
418 fpeel-loops
419 Common
420
421 fpeephole
422 Common
423
424 fpeephole2
425 Common
426
427 fpic
428 Common
429
430 fpie
431 Common
432
433 fprefetch-loop-arrays
434 Common
435
436 fprofile
437 Common
438
439 fprofile-arcs
440 Common
441
442 frandom-seed
443 Common
444
445 frandom-seed=
446 Common Joined RejectNegative
447 -frandom-seed=<string>  Make compile reproducible using <string>
448
449 freduce-all-givs
450 Common
451
452 freg-struct-return
453 Common
454
455 fregmove
456 Common
457
458 frename-registers
459 Common
460
461 freorder-blocks
462 Common
463
464 freorder-functions
465 Common
466
467 frerun-cse-after-loop
468 Common
469
470 frerun-loop-opt
471 Common
472
473 fsched-interblock
474 Common
475
476 fsched-spec
477 Common
478
479 fsched-spec-load
480 Common
481
482 fsched-spec-load-dangerous
483 Common
484
485 fsched-verbose=
486 Common RejectNegative Joined
487 -fsched-verbose=<number>        Set the verbosity level of the scheduler
488
489 fsched2-use-superblocks
490 Common
491
492 fsched2-use-traces
493 Common
494
495 fschedule-insns
496 Common
497
498 fschedule-insns2
499 Common
500
501 fshared-data
502 Common
503
504 fsignaling-nans
505 Common
506
507 fsingle-precision-constant
508 Common
509
510 fssa
511 Common
512
513 fssa-ccp
514 Common
515
516 fssa-dce
517 Common
518
519 fstack-check
520 Common
521
522 fstack-limit
523 Common
524
525 fstack-limit-register=
526 Common RejectNegative Joined
527 -fstack-limit-register=<register>       Trap if the stack goes past <register>
528
529 fstack-limit-symbol=
530 Common RejectNegative Joined
531 -fstack-limit-symbol=<name>     Trap if the stack goes past symbol <name>
532
533 fstrength-reduce
534 Common
535
536 fstrict-aliasing
537 Common
538
539 fsyntax-only
540 Common
541
542 ftest-coverage
543 Common
544
545 fthread-jumps
546 Common
547
548 ftime-report
549 Common
550
551 ftls-model=
552 Common Joined RejectNegative
553 -ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec]      Set the default thread-local storage code generation model
554
555 ftracer
556 Common
557
558 ftrapping-math
559 Common
560
561 ftrapv
562 Common
563
564 funit-at-a-time
565 Common
566
567 funroll-loops
568 Common
569
570 funroll-all-loops
571 Common
572
573 funsafe-math-optimizations
574 Common
575
576 funswitch-loops
577 Common
578
579 funwind-tables
580 Common
581
582 fverbose-asm
583 Common
584
585 fwrapv
586 Common
587
588 fwritable-strings
589 Common
590
591 fzero-initialized-in-bss
592 Common
593
594 g
595 Common JoinedOrMissing
596
597 m
598 Common Joined
599
600 o
601 Common Joined Separate
602 -o <file>       Place output into <file>
603
604 p
605 Common
606 Enable function profiling
607
608 pedantic
609 Common
610 Issue warnings needed for strict compliance to the standard
611
612 pedantic-errors
613 Common
614 Like -pedantic but issue them as errors
615
616 quiet
617 Common
618 Do not display functions compiled or elapsed time
619
620 version
621 Common
622 Display the compiler's version
623
624 w
625 Common
626 Suppress warnings
627
628 ; This comment is to ensure we retain the blank line above.