OSDN Git Service

* config/sh/sh.c (calc_live_regs): Use
[pf3gnuchains/gcc-fork.git] / gcc / c.opt
1 ; Options for the C, ObjC, C++ and ObjC++ front ends.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007 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 3, 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 COPYING3.  If not see
18 ; <http://www.gnu.org/licenses/>.
19
20 ; See the GCC internals manual for a description of this file's format.
21
22 ; Please try to keep this file in ASCII collating order.
23
24 Language
25 C
26
27 Language
28 ObjC
29
30 Language
31 C++
32
33 Language
34 ObjC++
35
36 -output-pch=
37 C ObjC C++ ObjC++ Joined Separate
38
39 A
40 C ObjC C++ ObjC++ Joined Separate
41 -A<question>=<answer>   Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>
42
43 C
44 C ObjC C++ ObjC++
45 Do not discard comments
46
47 CC
48 C ObjC C++ ObjC++
49 Do not discard comments in macro expansions
50
51 D
52 C ObjC C++ ObjC++ Joined Separate
53 -D<macro>[=<val>]       Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1
54
55 E
56 C ObjC C++ ObjC++ Undocumented
57
58 F
59 C ObjC C++ ObjC++ Joined Separate
60 -F <dir>        Add <dir> to the end of the main framework include path
61
62 H
63 C ObjC C++ ObjC++
64 Print the name of header files as they are used
65
66 I
67 C ObjC C++ ObjC++ Joined Separate
68 -I <dir>        Add <dir> to the end of the main include path
69
70 M
71 C ObjC C++ ObjC++
72 Generate make dependencies
73
74 MD
75 C ObjC C++ ObjC++ Separate
76 Generate make dependencies and compile
77
78 MF
79 C ObjC C++ ObjC++ Joined Separate
80 -MF <file>      Write dependency output to the given file
81
82 MG
83 C ObjC C++ ObjC++
84 Treat missing header files as generated files
85
86 MM
87 C ObjC C++ ObjC++
88 Like -M but ignore system header files
89
90 MMD
91 C ObjC C++ ObjC++ Separate
92 Like -MD but ignore system header files
93
94 MP
95 C ObjC C++ ObjC++
96 Generate phony targets for all headers
97
98 MQ
99 C ObjC C++ ObjC++ Joined Separate
100 -MQ <target>    Add a MAKE-quoted target
101
102 MT
103 C ObjC C++ ObjC++ Joined Separate
104 -MT <target>    Add an unquoted target
105
106 P
107 C ObjC C++ ObjC++
108 Do not generate #line directives
109
110 U
111 C ObjC C++ ObjC++ Joined Separate
112 -U<macro>       Undefine <macro>
113
114 Wabi
115 C++ ObjC++ Var(warn_abi) Warning
116 Warn about things that will change when compiling with an ABI-compliant compiler
117
118 Waddress
119 C ObjC C++ ObjC++ Var(warn_address) Warning
120 Warn about suspicious uses of memory addresses
121
122 Wall
123 C ObjC C++ ObjC++ Warning
124 Enable most warning messages
125
126 Wtype-limits
127 C ObjC C++ ObjC++ Var(warn_type_limits) Init(-1) Warning
128 Warn if a comparison is always true or always false due to the limited range of the data type
129
130 Wassign-intercept
131 ObjC ObjC++ Var(warn_assign_intercept) Warning
132 Warn whenever an Objective-C assignment is being intercepted by the garbage collector
133
134 Wbad-function-cast
135 C ObjC Var(warn_bad_function_cast) Warning
136 Warn about casting functions to incompatible types
137
138 Wc++-compat
139 C ObjC Var(warn_cxx_compat) Warning
140 Warn about C constructs that are not in the common subset of C and C++
141
142 Wc++0x-compat
143 C++ ObjC++ Var(warn_cxx0x_compat) Warning
144 Warn about C++ constructs whose meaning differs between ISO C++ 1998 and ISO C++ 200x
145
146 Wcast-qual
147 C ObjC C++ ObjC++ Var(warn_cast_qual) Warning
148 Warn about casts which discard qualifiers
149
150 Wchar-subscripts
151 C ObjC C++ ObjC++ Var(warn_char_subscripts) Warning
152 Warn about subscripts whose type is \"char\"
153
154 Wclobbered
155 C ObjC C++ ObjC++ Var(warn_clobbered) Init(-1) Warning
156 Warn about variables that might be changed by \"longjmp\" or \"vfork\"
157
158 Wcomment
159 C ObjC C++ ObjC++ Warning
160 Warn about possibly nested block comments, and C++ comments spanning more than one physical line
161
162 Wcomments
163 C ObjC C++ ObjC++ Warning
164 Synonym for -Wcomment
165
166 Wconversion
167 C ObjC C++ ObjC++ Var(warn_conversion) Warning
168 Warn for implicit type conversions that may change a value
169
170 Wsign-conversion
171 C ObjC C++ ObjC++ Var(warn_sign_conversion) Init(-1)
172 Warn for implicit type conversions between signed and unsigned integers
173
174 Wctor-dtor-privacy
175 C++ ObjC++ Var(warn_ctor_dtor_privacy) Warning
176 Warn when all constructors and destructors are private
177
178 Wdeclaration-after-statement
179 C ObjC Var(warn_declaration_after_statement) Warning
180 Warn when a declaration is found after a statement
181
182 Wdeprecated
183 C++ ObjC++ Var(warn_deprecated) Init(1) Warning
184 Warn about deprecated compiler features
185
186 Wdiv-by-zero
187 C ObjC C++ ObjC++ Var(warn_div_by_zero) Init(1) Warning
188 Warn about compile-time integer division by zero
189
190 Weffc++
191 C++ ObjC++ Var(warn_ecpp) Warning
192 Warn about violations of Effective C++ style rules
193
194 Wempty-body
195 C ObjC C++ ObjC++ Var(warn_empty_body) Init(-1) Warning
196 Warn about an empty body in an if or else statement
197
198 Wendif-labels
199 C ObjC C++ ObjC++ Warning
200 Warn about stray tokens after #elif and #endif
201
202 Werror
203 C ObjC C++ ObjC++
204 ; Documented in common.opt
205
206 Werror-implicit-function-declaration
207 C ObjC RejectNegative Warning
208 This switch is deprecated; use -Werror=implicit-function-declaration instead
209
210 Wfloat-equal
211 C ObjC C++ ObjC++ Var(warn_float_equal) Warning
212 Warn if testing floating point numbers for equality
213
214 Wformat
215 C ObjC C++ ObjC++ Warning
216 Warn about printf/scanf/strftime/strfmon format string anomalies
217
218 Wformat-extra-args
219 C ObjC C++ ObjC++ Var(warn_format_extra_args) Warning
220 Warn if passing too many arguments to a function for its format string
221
222 Wformat-nonliteral
223 C ObjC C++ ObjC++ Var(warn_format_nonliteral) Warning
224 Warn about format strings that are not literals
225
226 Wformat-contains-nul
227 C ObjC C++ ObjC++ Var(warn_format_contains_nul) Warning
228 Warn about format strings that contain NUL bytes
229
230 Wformat-security
231 C ObjC C++ ObjC++ Var(warn_format_security) Warning
232 Warn about possible security problems with format functions
233
234 Wformat-y2k
235 C ObjC C++ ObjC++ Var(warn_format_y2k) Warning
236 Warn about strftime formats yielding 2-digit years
237
238 Wformat-zero-length
239 C ObjC Var(warn_format_zero_length) Warning
240 Warn about zero-length formats
241
242 Wformat=
243 C ObjC C++ ObjC++ Joined Warning
244
245 Winit-self
246 C ObjC C++ ObjC++ Var(warn_init_self) Warning
247 Warn about variables which are initialized to themselves
248
249 Wimplicit
250 C ObjC C++ ObjC++ Warning
251
252 Wimplicit-function-declaration
253 C ObjC Var(warn_implicit_function_declaration) Init(-1) Warning
254 Warn about implicit function declarations
255
256 Wimplicit-int
257 C ObjC Var(warn_implicit_int) Warning
258 Warn when a declaration does not specify a type
259
260 Wimport
261 C ObjC C++ ObjC++
262 Deprecated.  This switch has no effect
263
264 Wint-to-pointer-cast
265 C ObjC Var(warn_int_to_pointer_cast) Init(1) Warning
266 Warn when there is a cast to a pointer from an integer of a different size
267
268 Winvalid-offsetof
269 C++ ObjC++ Var(warn_invalid_offsetof) Init(1) Warning
270 Warn about invalid uses of the \"offsetof\" macro
271
272 Winvalid-pch
273 C ObjC C++ ObjC++ Warning
274 Warn about PCH files that are found but not used
275
276 Wlong-long
277 C ObjC C++ ObjC++ Var(warn_long_long) Init(1) Warning
278 Do not warn about using \"long long\" when -pedantic
279
280 Wmain
281 C ObjC C++ ObjC++ Warning
282 Warn about suspicious declarations of \"main\"
283
284 Wmissing-braces
285 C ObjC C++ ObjC++ Var(warn_missing_braces) Warning
286 Warn about possibly missing braces around initializers
287
288 Wmissing-declarations
289 C ObjC C++ ObjC++ Var(warn_missing_declarations) Warning
290 Warn about global functions without previous declarations
291
292 Wmissing-field-initializers
293 C ObjC C++ ObjC++ Var(warn_missing_field_initializers) Init(-1) Warning
294 Warn about missing fields in struct initializers
295
296 Wmissing-format-attribute
297 C ObjC C++ ObjC++ Var(warn_missing_format_attribute) Warning
298 Warn about functions which might be candidates for format attributes
299
300 Wmissing-include-dirs
301 C ObjC C++ ObjC++ Warning
302 Warn about user-specified include directories that do not exist
303
304 Wmissing-parameter-type
305 C ObjC Var(warn_missing_parameter_type) Init(-1) Warning
306 Warn about function parameters declared without a type specifier in K&R-style functions
307
308 Wmissing-prototypes
309 C ObjC Var(warn_missing_prototypes) Warning
310 Warn about global functions without prototypes
311
312 Wmultichar
313 C ObjC C++ ObjC++ Warning
314 Warn about use of multi-character character constants
315
316 Wnested-externs
317 C ObjC Var(warn_nested_externs) Warning
318 Warn about \"extern\" declarations not at file scope
319
320 Wnon-template-friend
321 C++ ObjC++ Var(warn_nontemplate_friend) Init(1) Warning
322 Warn when non-templatized friend functions are declared within a template
323
324 Wnon-virtual-dtor
325 C++ ObjC++ Var(warn_nonvdtor) Warning
326 Warn about non-virtual destructors
327
328 Wnonnull
329 C ObjC Var(warn_nonnull) Warning
330 Warn about NULL being passed to argument slots marked as requiring non-NULL
331
332 Wnormalized=
333 C ObjC C++ ObjC++ Joined Warning
334 -Wnormalized=<id|nfc|nfkc>      Warn about non-normalised Unicode strings
335
336 Wold-style-cast
337 C++ ObjC++ Var(warn_old_style_cast) Warning
338 Warn if a C-style cast is used in a program
339
340 Wold-style-declaration
341 C ObjC Var(warn_old_style_declaration) Init(-1) Warning
342 Warn for obsolescent usage in a declaration
343
344 Wold-style-definition
345 C ObjC Var(warn_old_style_definition) Warning
346 Warn if an old-style parameter definition is used
347
348 Woverlength-strings
349 C ObjC C++ ObjC++ Var(warn_overlength_strings) Init(-1) Warning
350 Warn if a string is longer than the maximum portable length specified by the standard
351
352 Woverloaded-virtual
353 C++ ObjC++ Var(warn_overloaded_virtual) Warning
354 Warn about overloaded virtual function names
355
356 Woverride-init
357 C ObjC Var(warn_override_init) Init(-1) Warning
358 Warn about overriding initializers without side effects
359
360 Wparentheses
361 C ObjC C++ ObjC++ Var(warn_parentheses) Warning
362 Warn about possibly missing parentheses
363
364 Wpmf-conversions
365 C++ ObjC++ Var(warn_pmf2ptr) Init(1) Warning
366 Warn when converting the type of pointers to member functions
367
368 Wpointer-arith
369 C ObjC C++ ObjC++ Var(warn_pointer_arith) Warning
370 Warn about function pointer arithmetic
371
372 Wpointer-to-int-cast
373 C ObjC Var(warn_pointer_to_int_cast) Init(1) Warning
374 Warn when a pointer is cast to an integer of a different size
375
376 Wpragmas
377 C ObjC C++ ObjC++ Var(warn_pragmas) Init(1) Warning
378 Warn about misuses of pragmas
379
380 Wprotocol
381 ObjC ObjC++ Var(warn_protocol) Init(1) Warning
382 Warn if inherited methods are unimplemented
383
384 Wredundant-decls
385 C ObjC C++ ObjC++ Var(warn_redundant_decls) Warning
386 Warn about multiple declarations of the same object
387
388 Wreorder
389 C++ ObjC++ Var(warn_reorder) Warning
390 Warn when the compiler reorders code
391
392 Wreturn-type
393 C ObjC C++ ObjC++ Var(warn_return_type) Warning
394 Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
395
396 Wselector
397 ObjC ObjC++ Var(warn_selector) Warning
398 Warn if a selector has multiple methods
399
400 Wsequence-point
401 C ObjC C++ ObjC++ Var(warn_sequence_point) Warning
402 Warn about possible violations of sequence point rules
403
404 Wsign-compare
405 C ObjC C++ ObjC++ Var(warn_sign_compare) Init(-1) Warning
406 Warn about signed-unsigned comparisons
407
408 Wsign-promo
409 C++ ObjC++ Var(warn_sign_promo) Warning
410 Warn when overload promotes from unsigned to signed
411
412 Wstrict-null-sentinel
413 C++ ObjC++ Warning
414 Warn about uncasted NULL used as sentinel
415
416 Wstrict-prototypes
417 C ObjC Var(warn_strict_prototypes) Warning
418 Warn about unprototyped function declarations
419
420 Wstrict-selector-match
421 ObjC ObjC++ Var(warn_strict_selector_match) Warning
422 Warn if type signatures of candidate methods do not match exactly
423
424 Wsynth
425 C++ ObjC++ Var(warn_synth) Warning
426 Warn when synthesis behavior differs from Cfront
427
428 Wsystem-headers
429 C ObjC C++ ObjC++ Warning
430 Do not suppress warnings from system headers
431
432 Wtraditional
433 C ObjC Var(warn_traditional) Warning
434 Warn about features not present in traditional C
435
436 Wtraditional-conversion
437 C ObjC Var(warn_traditional_conversion) Warning
438 Warn of prototypes causing type conversions different from what would happen in the absence of prototype
439
440 Wtrigraphs
441 C ObjC C++ ObjC++ Warning
442 Warn if trigraphs are encountered that might affect the meaning of the program
443
444 Wundeclared-selector
445 ObjC ObjC++ Var(warn_undeclared_selector) Warning
446 Warn about @selector()s without previously declared methods
447
448 Wundef
449 C ObjC C++ ObjC++ Warning
450 Warn if an undefined macro is used in an #if directive
451
452 Wunknown-pragmas
453 C ObjC C++ ObjC++ Warning
454 Warn about unrecognized pragmas
455
456 Wunused-macros
457 C ObjC C++ ObjC++ Warning
458 Warn about macros defined in the main file that are not used
459
460 Wvariadic-macros
461 C ObjC C++ ObjC++ Warning
462 Do not warn about using variadic macros when -pedantic
463
464 Wvla
465 C ObjC C++ ObjC++ Var(warn_vla) Init(-1) Warning
466 Warn if a variable length array is used
467
468 Wwrite-strings
469 C ObjC C++ ObjC++ Var(warn_write_strings) Warning
470 In C++, nonzero means warn about deprecated conversion from string literals to `char *'.  In C, similar warning, except that the conversion is of course not deprecated by the ISO C standard.
471
472 Wpointer-sign
473 C ObjC Var(warn_pointer_sign) Init(-1) Warning
474 Warn when a pointer differs in signedness in an assignment
475
476 ansi
477 C ObjC C++ ObjC++
478 A synonym for -std=c89 (for C) or -std=c++98 (for C++)
479
480 d
481 C ObjC C++ ObjC++ Joined
482 ; Documented in common.opt.  FIXME - what about -dI, -dD, -dN and -dD?
483
484 faccess-control
485 C++ ObjC++
486 Enforce class member access control semantics
487
488 fall-virtual
489 C++ ObjC++
490
491 falt-external-templates
492 C++ ObjC++
493 Change when template instances are emitted
494
495 fasm
496 C ObjC C++ ObjC++
497 Recognize the \"asm\" keyword
498
499 fbuiltin
500 C ObjC C++ ObjC++
501 Recognize built-in functions
502
503 fbuiltin-
504 C ObjC C++ ObjC++ Joined
505
506 fcheck-new
507 C++ ObjC++
508 Check the return value of new
509
510 fcond-mismatch
511 C ObjC C++ ObjC++
512 Allow the arguments of the '?' operator to have different types
513
514 fconserve-space
515 C++ ObjC++
516 Reduce the size of object files
517
518 fconstant-string-class=
519 ObjC ObjC++ Joined
520 -fconst-string-class=<name>     Use class <name> for constant strings
521
522 fdefault-inline
523 C++ ObjC++
524 Inline member functions by default
525
526 fdirectives-only
527 C ObjC C++ ObjC++
528 Preprocess directives only.
529
530 fdollars-in-identifiers
531 C ObjC C++ ObjC++
532 Permit '$' as an identifier character
533
534 felide-constructors
535 C++ ObjC++
536
537 fenforce-eh-specs
538 C++ ObjC++
539 Generate code to check exception specifications
540
541 fenum-int-equiv
542 C++ ObjC++
543
544 fexec-charset=
545 C ObjC C++ ObjC++ Joined RejectNegative
546 -fexec-charset=<cset>   Convert all strings and character constants to character set <cset>
547
548 fextended-identifiers
549 C ObjC C++ ObjC++
550 Permit universal character names (\\u and \\U) in identifiers
551
552 finput-charset=
553 C ObjC C++ ObjC++ Joined RejectNegative
554 -finput-charset=<cset>  Specify the default character set for source files
555
556
557 fexternal-templates
558 C++ ObjC++
559
560 ffor-scope
561 C++ ObjC++
562 Scope of for-init-statement variables is local to the loop
563
564 ffreestanding
565 C ObjC C++ ObjC++
566 Do not assume that standard C libraries and \"main\" exist
567
568 fgnu-keywords
569 C++ ObjC++
570 Recognize GNU-defined keywords
571
572 fgnu-runtime
573 ObjC ObjC++
574 Generate code for GNU runtime environment
575
576 fgnu89-inline
577 C ObjC Var(flag_gnu89_inline) Init(-1)
578 Use traditional GNU semantics for inline functions
579
580 fguiding-decls
581 C++ ObjC++
582
583 fhandle-exceptions
584 C++ ObjC++ Optimization
585
586 fhonor-std
587 C++ ObjC++
588
589 fhosted
590 C ObjC
591 Assume normal C execution environment
592
593 fhuge-objects
594 C++ ObjC++
595 Enable support for huge objects
596
597 fimplement-inlines
598 C++ ObjC++
599 Export functions even if they can be inlined
600
601 fimplicit-inline-templates
602 C++ ObjC++
603 Emit implicit instantiations of inline templates
604
605 fimplicit-templates
606 C++ ObjC++
607 Emit implicit instantiations of templates
608
609 ffriend-injection
610 C++ ObjC++ Var(flag_friend_injection)
611 Inject friend functions into enclosing namespace
612
613 flabels-ok
614 C++ ObjC++
615
616 flax-vector-conversions
617 C ObjC C++ ObjC++
618 Allow implicit conversions between vectors with differing numbers of subparts and/or differing element types.
619
620 fms-extensions
621 C ObjC C++ ObjC++
622 Don't warn about uses of Microsoft extensions
623
624 fname-mangling-version-
625 C++ ObjC++ Joined
626
627 fnew-abi
628 C++ ObjC++
629
630 fnext-runtime
631 ObjC ObjC++
632 Generate code for NeXT (Apple Mac OS X) runtime environment
633
634 fnil-receivers
635 ObjC ObjC++
636 Assume that receivers of Objective-C messages may be nil
637
638 fnonansi-builtins
639 C++ ObjC++
640
641 fnonnull-objects
642 C++ ObjC++
643
644 ; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
645 ; to initialize any non-POD ivars in Objective-C++ classes.
646 fobjc-call-cxx-cdtors
647 ObjC++ Var(flag_objc_call_cxx_cdtors)
648 Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed
649
650 fobjc-direct-dispatch
651 ObjC ObjC++ Var(flag_objc_direct_dispatch)
652 Allow fast jumps to the message dispatcher
653
654 ; Nonzero means that we will allow new ObjC exception syntax (@throw,
655 ; @try, etc.) in source code.
656 fobjc-exceptions
657 ObjC ObjC++ Var(flag_objc_exceptions)
658 Enable Objective-C exception and synchronization syntax
659
660 fobjc-gc
661 ObjC ObjC++ Var(flag_objc_gc)
662 Enable garbage collection (GC) in Objective-C/Objective-C++ programs
663
664 ; Nonzero means that we generate NeXT setjmp based exceptions.
665 fobjc-sjlj-exceptions
666 ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
667 Enable Objective-C setjmp exception handling runtime
668
669 fopenmp
670 C ObjC C++ ObjC++ Var(flag_openmp)
671 Enable OpenMP
672
673 foperator-names
674 C++ ObjC++
675 Recognize C++ kewords like \"compl\" and \"xor\"
676
677 foptional-diags
678 C++ ObjC++
679 Enable optional diagnostics
680
681 fpch-deps
682 C ObjC C++ ObjC++
683
684 fpch-preprocess
685 C ObjC C++ ObjC++
686 Look for and use PCH files even when preprocessing
687
688 fpermissive
689 C++ ObjC++
690 Downgrade conformance errors to warnings
691
692 fpreprocessed
693 C ObjC C++ ObjC++
694 Treat the input file as already preprocessed
695
696 freplace-objc-classes
697 ObjC ObjC++
698 Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
699
700 frepo
701 C++ ObjC++
702 Enable automatic template instantiation
703
704 frtti
705 C++ ObjC++ Optimization
706 Generate run time type descriptor information
707
708 fshort-double
709 C ObjC C++ ObjC++ Optimization
710 Use the same size for double as for float
711
712 fshort-enums
713 C ObjC C++ ObjC++ Optimization
714 Use the narrowest integer type possible for enumeration types
715
716 fshort-wchar
717 C ObjC C++ ObjC++ Optimization
718 Force the underlying type for \"wchar_t\" to be \"unsigned short\"
719
720 fsigned-bitfields
721 C ObjC C++ ObjC++
722 When \"signed\" or \"unsigned\" is not given make the bitfield signed
723
724 fsigned-char
725 C ObjC C++ ObjC++
726 Make \"char\" signed by default
727
728 fsquangle
729 C++ ObjC++
730
731 fstats
732 C++ ObjC++
733 Display statistics accumulated during compilation
734
735 fstrict-prototype
736 C++ ObjC++
737
738 ftabstop=
739 C ObjC C++ ObjC++ Joined RejectNegative UInteger
740 -ftabstop=<number>      Distance between tab stops for column reporting
741
742 ftemplate-depth-
743 C++ ObjC++ Joined RejectNegative UInteger
744 -ftemplate-depth-<number>       Specify maximum template instantiation depth
745
746 fthis-is-variable
747 C++ ObjC++
748
749 fthreadsafe-statics
750 C++ ObjC++ Optimization
751 -fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
752
753 funsigned-bitfields
754 C ObjC C++ ObjC++
755 When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
756
757 funsigned-char
758 C ObjC C++ ObjC++
759 Make \"char\" unsigned by default
760
761 fuse-cxa-atexit
762 C++ ObjC++
763 Use __cxa_atexit to register destructors
764
765 fuse-cxa-get-exception-ptr
766 C++ ObjC++
767 Use __cxa_get_exception_ptr in exception handling
768
769 fvisibility-inlines-hidden
770 C++ ObjC++
771 Marks all inlined methods as having hidden visibility
772
773 fvisibility-ms-compat
774 C++ ObjC++ Var(flag_visibility_ms_compat)
775 Changes visibility to match Microsoft Visual Studio by default
776
777 fvtable-gc
778 C++ ObjC++
779 Discard unused virtual functions
780
781 fvtable-thunks
782 C++ ObjC++
783 Implement vtables using thunks
784
785 fweak
786 C++ ObjC++
787 Emit common-like symbols as weak symbols
788
789 fwide-exec-charset=
790 C ObjC C++ ObjC++ Joined RejectNegative
791 -fwide-exec-charset=<cset>      Convert all wide strings and character constants to character set <cset>
792
793 fworking-directory
794 C ObjC C++ ObjC++
795 Generate a #line directive pointing at the current working directory
796
797 fxref
798 C++ ObjC++
799 Emit cross referencing information
800
801 fzero-link
802 ObjC ObjC++
803 Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
804
805 gen-decls
806 ObjC ObjC++
807 Dump declarations to a .decl file
808
809 femit-struct-debug-baseonly
810 C ObjC C++ ObjC++
811 -femit-struct-debug-baseonly    Aggressive reduced debug info for structs
812
813 femit-struct-debug-reduced
814 C ObjC C++ ObjC++
815 -femit-struct-debug-reduced     Conservative reduced debug info for structs
816
817 femit-struct-debug-detailed=
818 C ObjC C++ ObjC++ Joined
819 -femit-struct-debug-detailed=<spec-list>        Detailed reduced debug info for structs
820
821 idirafter
822 C ObjC C++ ObjC++ Joined Separate
823 -idirafter <dir>        Add <dir> to the end of the system include path
824
825 imacros
826 C ObjC C++ ObjC++ Joined Separate
827 -imacros <file> Accept definition of macros in <file>
828
829 imultilib
830 C ObjC C++ ObjC++ Joined Separate
831 -imultilib <dir> Set <dir> to be the multilib include subdirectory
832
833 include
834 C ObjC C++ ObjC++ Joined Separate
835 -include <file> Include the contents of <file> before other files
836
837 iprefix
838 C ObjC C++ ObjC++ Joined Separate
839 -iprefix <path> Specify <path> as a prefix for next two options
840
841 isysroot
842 C ObjC C++ ObjC++ Joined Separate
843 -isysroot <dir> Set <dir> to be the system root directory
844
845 isystem
846 C ObjC C++ ObjC++ Joined Separate
847 -isystem <dir>  Add <dir> to the start of the system include path
848
849 iquote
850 C ObjC C++ ObjC++ Joined Separate
851 -iquote <dir>   Add <dir> to the end of the quote include path
852
853 iwithprefix
854 C ObjC C++ ObjC++ Joined Separate
855 -iwithprefix <dir>      Add <dir> to the end of the system include path
856
857 iwithprefixbefore
858 C ObjC C++ ObjC++ Joined Separate
859 -iwithprefixbefore <dir>        Add <dir> to the end of the main include path
860
861 lang-asm
862 C Undocumented
863
864 lang-fortran
865 C Undocumented
866
867 lang-objc
868 C ObjC C++ ObjC++ Undocumented
869
870 nostdinc
871 C ObjC C++ ObjC++
872 Do not search standard system include directories (those specified with -isystem will still be used)
873
874 nostdinc++
875 C++ ObjC++
876 Do not search standard system include directories for C++
877
878 o
879 C ObjC C++ ObjC++ Joined Separate
880 ; Documented in common.opt
881
882 pedantic
883 C ObjC C++ ObjC++
884 ; Documented in common.opt
885
886 pedantic-errors
887 C ObjC C++ ObjC++
888 ; Documented in common.opt
889
890 print-objc-runtime-info
891 ObjC ObjC++
892 Generate C header of platform-specific features
893
894 print-pch-checksum
895 C ObjC C++ ObjC++
896 Print a checksum of the executable for PCH validity checking, and stop
897
898 remap
899 C ObjC C++ ObjC++
900 Remap file names when including files
901
902 std=c++98
903 C++ ObjC++
904 Conform to the ISO 1998 C++ standard
905
906 std=c++0x
907 C++ ObjC++
908 Conform to the ISO 1998 C++ standard, with extensions that are likely to
909 become a part of the upcoming ISO C++ standard, dubbed C++0x. Note that the
910 extensions enabled by this mode are experimental and may be removed in
911 future releases of GCC.
912
913 std=c89
914 C ObjC
915 Conform to the ISO 1990 C standard
916
917 std=c99
918 C ObjC
919 Conform to the ISO 1999 C standard
920
921 std=c9x
922 C ObjC
923 Deprecated in favor of -std=c99
924
925 std=gnu++98
926 C++ ObjC++
927 Conform to the ISO 1998 C++ standard with GNU extensions
928
929 std=gnu++0x
930 C++ ObjC++
931 Conform to the ISO 1998 C++ standard, with GNU extensions and
932 extensions that are likely to become a part of the upcoming ISO C++
933 standard, dubbed C++0x. Note that the extensions enabled by this mode
934 are experimental and may be removed in future releases of GCC.
935
936 std=gnu89
937 C ObjC
938 Conform to the ISO 1990 C standard with GNU extensions
939
940 std=gnu99
941 C ObjC
942 Conform to the ISO 1999 C standard with GNU extensions
943
944 std=gnu9x
945 C ObjC
946 Deprecated in favor of -std=gnu99
947
948 std=iso9899:1990
949 C ObjC
950 Conform to the ISO 1990 C standard
951
952 std=iso9899:199409
953 C ObjC
954 Conform to the ISO 1990 C standard as amended in 1994
955
956 std=iso9899:1999
957 C ObjC
958 Conform to the ISO 1999 C standard
959
960 std=iso9899:199x
961 C ObjC
962 Deprecated in favor of -std=iso9899:1999
963
964 traditional-cpp
965 C ObjC C++ ObjC++
966 Enable traditional preprocessing
967
968 trigraphs
969 C ObjC C++ ObjC++
970 -trigraphs      Support ISO C trigraphs
971
972 undef
973 C ObjC C++ ObjC++
974 Do not predefine system-specific and GCC-specific macros
975
976 v
977 C ObjC C++ ObjC++
978 Enable verbose output
979
980 w
981 C ObjC C++ ObjC++
982 ; Documented in common.opt
983
984 ; This comment is to ensure we retain the blank line above.