Fix DealII type problems.
[official-gcc/Ramakrishna.git] / gcc / c.opt
blob429c035f38fba41133b5464fbdc1f099f2663c46
1 ; Options for the C, ObjC, C++ and ObjC++ front ends.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
3 ; Free Software Foundation, Inc.
5 ; This file is part of GCC.
7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free
9 ; Software Foundation; either version 3, or (at your option) any later
10 ; version.
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 ; for more details.
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING3.  If not see
19 ; <http://www.gnu.org/licenses/>.
21 ; See the GCC internals manual for a description of this file's format.
23 ; Please try to keep this file in ASCII collating order.
25 Language
28 Language
29 ObjC
31 Language
32 C++
34 Language
35 ObjC++
37 -output-pch=
38 C ObjC C++ ObjC++ Joined Separate
41 C ObjC C++ ObjC++ Joined Separate
42 -A<question>=<answer>   Assert the <answer> to <question>.  Putting '-' before <question> disables the <answer> to <question>
45 C ObjC C++ ObjC++
46 Do not discard comments
49 C ObjC C++ ObjC++
50 Do not discard comments in macro expansions
53 C ObjC C++ ObjC++ Joined Separate
54 -D<macro>[=<val>]       Define a <macro> with <val> as its value.  If just <macro> is given, <val> is taken to be 1
57 C ObjC C++ ObjC++ Undocumented
60 C ObjC C++ ObjC++ Joined Separate
61 -F <dir>        Add <dir> to the end of the main framework include path
64 C ObjC C++ ObjC++
65 Print the name of header files as they are used
68 C ObjC C++ ObjC++ Joined Separate
69 -I <dir>        Add <dir> to the end of the main include path
72 C ObjC C++ ObjC++
73 Generate make dependencies
76 C ObjC C++ ObjC++ Separate
77 Generate make dependencies and compile
80 C ObjC C++ ObjC++ Joined Separate
81 -MF <file>      Write dependency output to the given file
84 C ObjC C++ ObjC++
85 Treat missing header files as generated files
88 C ObjC C++ ObjC++
89 Like -M but ignore system header files
91 MMD
92 C ObjC C++ ObjC++ Separate
93 Like -MD but ignore system header files
96 C ObjC C++ ObjC++
97 Generate phony targets for all headers
100 C ObjC C++ ObjC++ Joined Separate
101 -MQ <target>    Add a MAKE-quoted target
104 C ObjC C++ ObjC++ Joined Separate
105 -MT <target>    Add an unquoted target
108 C ObjC C++ ObjC++
109 Do not generate #line directives
112 C ObjC C++ ObjC++ Joined Separate
113 -U<macro>       Undefine <macro>
115 Wabi
116 C ObjC C++ ObjC++ LTO Var(warn_abi) Warning
117 Warn about things that will change when compiling with an ABI-compliant compiler
119 Wpsabi
120 C ObjC C++ ObjC++ LTO Var(warn_psabi) Init(1) Undocumented
122 Waddress
123 C ObjC C++ ObjC++ Var(warn_address) Warning
124 Warn about suspicious uses of memory addresses
126 Wall
127 C ObjC C++ ObjC++ Warning
128 Enable most warning messages
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
134 Wbad-function-cast
135 C ObjC Var(warn_bad_function_cast) Warning
136 Warn about casting functions to incompatible types
138 Wbuiltin-macro-redefined
139 C ObjC C++ ObjC++ Warning
140 Warn when a built-in preprocessor macro is undefined or redefined
142 Wc++-compat
143 C ObjC Var(warn_cxx_compat) Warning
144 Warn about C constructs that are not in the common subset of C and C++
146 Wc++0x-compat
147 C++ ObjC++ Var(warn_cxx0x_compat) Warning
148 Warn about C++ constructs whose meaning differs between ISO C++ 1998 and ISO C++ 200x
150 Wcast-qual
151 C ObjC C++ ObjC++ Var(warn_cast_qual) Warning
152 Warn about casts which discard qualifiers
154 Wchar-subscripts
155 C ObjC C++ ObjC++ Var(warn_char_subscripts) Warning
156 Warn about subscripts whose type is \"char\"
158 Wclobbered
159 C ObjC C++ ObjC++ Var(warn_clobbered) Init(-1) Warning
160 Warn about variables that might be changed by \"longjmp\" or \"vfork\"
162 Wcomment
163 C ObjC C++ ObjC++ Warning
164 Warn about possibly nested block comments, and C++ comments spanning more than one physical line
166 Wcomments
167 C ObjC C++ ObjC++ Warning
168 Synonym for -Wcomment
170 Wconversion
171 C ObjC C++ ObjC++ Var(warn_conversion) Warning
172 Warn for implicit type conversions that may change a value
174 Wsign-conversion
175 C ObjC C++ ObjC++ Var(warn_sign_conversion) Init(-1)
176 Warn for implicit type conversions between signed and unsigned integers
178 Wctor-dtor-privacy
179 C++ ObjC++ Var(warn_ctor_dtor_privacy) Warning
180 Warn when all constructors and destructors are private
182 Wdeclaration-after-statement
183 C ObjC Var(warn_declaration_after_statement) Warning
184 Warn when a declaration is found after a statement
186 Wdeprecated
187 C C++ ObjC ObjC++ Var(warn_deprecated) Init(1) Warning
188 Warn if a deprecated compiler feature, class, method, or field is used
190 Wdiv-by-zero
191 C ObjC C++ ObjC++ Var(warn_div_by_zero) Init(1) Warning
192 Warn about compile-time integer division by zero
194 Weffc++
195 C++ ObjC++ Var(warn_ecpp) Warning
196 Warn about violations of Effective C++ style rules
198 Wempty-body
199 C ObjC C++ ObjC++ Var(warn_empty_body) Init(-1) Warning
200 Warn about an empty body in an if or else statement
202 Wendif-labels
203 C ObjC C++ ObjC++ Warning
204 Warn about stray tokens after #elif and #endif
206 Wenum-compare
207 C ObjC C++ ObjC++ Var(warn_enum_compare) Init(-1) Warning
208 Warn about comparison of different enum types
210 Werror
211 C ObjC C++ ObjC++
212 ; Documented in common.opt
214 Werror-implicit-function-declaration
215 C ObjC RejectNegative Warning
216 This switch is deprecated; use -Werror=implicit-function-declaration instead
218 Wfloat-equal
219 C ObjC C++ ObjC++ Var(warn_float_equal) Warning
220 Warn if testing floating point numbers for equality
222 Wformat
223 C ObjC C++ ObjC++ Warning
224 Warn about printf/scanf/strftime/strfmon format string anomalies
226 Wformat-extra-args
227 C ObjC C++ ObjC++ Var(warn_format_extra_args) Warning
228 Warn if passing too many arguments to a function for its format string
230 Wformat-nonliteral
231 C ObjC C++ ObjC++ Var(warn_format_nonliteral) Warning
232 Warn about format strings that are not literals
234 Wformat-contains-nul
235 C ObjC C++ ObjC++ Var(warn_format_contains_nul) Warning
236 Warn about format strings that contain NUL bytes
238 Wformat-security
239 C ObjC C++ ObjC++ Var(warn_format_security) Warning
240 Warn about possible security problems with format functions
242 Wformat-y2k
243 C ObjC C++ ObjC++ Var(warn_format_y2k) Warning
244 Warn about strftime formats yielding 2-digit years
246 Wformat-zero-length
247 C ObjC Var(warn_format_zero_length) Warning
248 Warn about zero-length formats
250 Wformat=
251 C ObjC C++ ObjC++ Joined Warning
253 Wignored-qualifiers
254 C C++ Var(warn_ignored_qualifiers) Init(-1) Warning
255 Warn whenever type qualifiers are ignored.
257 Winit-self
258 C ObjC C++ ObjC++ Var(warn_init_self) Warning
259 Warn about variables which are initialized to themselves
261 Wimplicit
262 C ObjC C++ ObjC++ Warning
264 Wimplicit-function-declaration
265 C ObjC Var(warn_implicit_function_declaration) Init(-1) Warning
266 Warn about implicit function declarations
268 Wimplicit-int
269 C ObjC Var(warn_implicit_int) Warning
270 Warn when a declaration does not specify a type
272 Wimport
273 C ObjC C++ ObjC++ Undocumented
275 Wint-to-pointer-cast
276 C ObjC Var(warn_int_to_pointer_cast) Init(1) Warning
277 Warn when there is a cast to a pointer from an integer of a different size
279 Winvalid-offsetof
280 C++ ObjC++ Var(warn_invalid_offsetof) Init(1) Warning
281 Warn about invalid uses of the \"offsetof\" macro
283 Winvalid-pch
284 C ObjC C++ ObjC++ Warning
285 Warn about PCH files that are found but not used
287 Wjump-misses-init
288 C ObjC Var(warn_jump_misses_init) Init(-1) Warning
289 Warn when a jump misses a variable initialization
291 Wlogical-op
292 C ObjC C++ ObjC++ Var(warn_logical_op) Init(0) Warning 
293 Warn when a logical operator is suspiciously always evaluating to true or false
295 Wlong-long
296 C ObjC C++ ObjC++ Var(warn_long_long) Init(-1) Warning
297 Do not warn about using \"long long\" when -pedantic
299 Wmain
300 C ObjC C++ ObjC++ Var(warn_main) Init(-1) Warning
301 Warn about suspicious declarations of \"main\"
303 Wmissing-braces
304 C ObjC C++ ObjC++ Var(warn_missing_braces) Warning
305 Warn about possibly missing braces around initializers
307 Wmissing-declarations
308 C ObjC C++ ObjC++ Var(warn_missing_declarations) Warning
309 Warn about global functions without previous declarations
311 Wmissing-field-initializers
312 C ObjC C++ ObjC++ Var(warn_missing_field_initializers) Init(-1) Warning
313 Warn about missing fields in struct initializers
315 Wmissing-format-attribute
316 C ObjC C++ ObjC++ Var(warn_missing_format_attribute) Warning
317 Warn about functions which might be candidates for format attributes
319 Wmissing-include-dirs
320 C ObjC C++ ObjC++ Warning
321 Warn about user-specified include directories that do not exist
323 Wmissing-parameter-type
324 C ObjC Var(warn_missing_parameter_type) Init(-1) Warning
325 Warn about function parameters declared without a type specifier in K&R-style functions
327 Wmissing-prototypes
328 C ObjC Var(warn_missing_prototypes) Warning
329 Warn about global functions without prototypes
331 Wmultichar
332 C ObjC C++ ObjC++ Warning
333 Warn about use of multi-character character constants
335 Wnested-externs
336 C ObjC Var(warn_nested_externs) Warning
337 Warn about \"extern\" declarations not at file scope
339 Wnon-template-friend
340 C++ ObjC++ Var(warn_nontemplate_friend) Init(1) Warning
341 Warn when non-templatized friend functions are declared within a template
343 Wnon-virtual-dtor
344 C++ ObjC++ Var(warn_nonvdtor) Warning
345 Warn about non-virtual destructors
347 Wnonnull
348 C ObjC Var(warn_nonnull) Warning
349 Warn about NULL being passed to argument slots marked as requiring non-NULL
351 Wnormalized=
352 C ObjC C++ ObjC++ Joined Warning
353 -Wnormalized=<id|nfc|nfkc>      Warn about non-normalised Unicode strings
355 Wold-style-cast
356 C++ ObjC++ Var(warn_old_style_cast) Warning
357 Warn if a C-style cast is used in a program
359 Wold-style-declaration
360 C ObjC Var(warn_old_style_declaration) Init(-1) Warning
361 Warn for obsolescent usage in a declaration
363 Wold-style-definition
364 C ObjC Var(warn_old_style_definition) Warning
365 Warn if an old-style parameter definition is used
367 Woverlength-strings
368 C ObjC C++ ObjC++ Var(warn_overlength_strings) Init(-1) Warning
369 Warn if a string is longer than the maximum portable length specified by the standard
371 Woverloaded-virtual
372 C++ ObjC++ Var(warn_overloaded_virtual) Warning
373 Warn about overloaded virtual function names
375 Woverride-init
376 C ObjC Var(warn_override_init) Init(-1) Warning
377 Warn about overriding initializers without side effects
379 Wpacked-bitfield-compat
380 C ObjC C++ ObjC++ Var(warn_packed_bitfield_compat) Init(-1) Warning
381 Warn about packed bit-fields whose offset changed in GCC 4.4
383 Wparentheses
384 C ObjC C++ ObjC++ Var(warn_parentheses) Warning
385 Warn about possibly missing parentheses
387 Wpmf-conversions
388 C++ ObjC++ Var(warn_pmf2ptr) Init(1) Warning
389 Warn when converting the type of pointers to member functions
391 Wpointer-arith
392 C ObjC C++ ObjC++ Var(warn_pointer_arith) Warning
393 Warn about function pointer arithmetic
395 Wpointer-to-int-cast
396 C ObjC Var(warn_pointer_to_int_cast) Init(1) Warning
397 Warn when a pointer is cast to an integer of a different size
399 Wpragmas
400 C ObjC C++ ObjC++ Var(warn_pragmas) Init(1) Warning
401 Warn about misuses of pragmas
403 Wprotocol
404 ObjC ObjC++ Var(warn_protocol) Init(1) Warning
405 Warn if inherited methods are unimplemented
407 Wredundant-decls
408 C ObjC C++ ObjC++ Var(warn_redundant_decls) Warning
409 Warn about multiple declarations of the same object
411 Wreorder
412 C++ ObjC++ Var(warn_reorder) Warning
413 Warn when the compiler reorders code
415 Wreturn-type
416 C ObjC C++ ObjC++ Var(warn_return_type) Warning
417 Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
419 Wselector
420 ObjC ObjC++ Var(warn_selector) Warning
421 Warn if a selector has multiple methods
423 Wsequence-point
424 C ObjC C++ ObjC++ Var(warn_sequence_point) Warning
425 Warn about possible violations of sequence point rules
427 Wsign-compare
428 C ObjC C++ ObjC++ Var(warn_sign_compare) Init(-1) Warning
429 Warn about signed-unsigned comparisons
431 Wsign-promo
432 C++ ObjC++ Var(warn_sign_promo) Warning
433 Warn when overload promotes from unsigned to signed
435 Wstrict-null-sentinel
436 C++ ObjC++ Warning
437 Warn about uncasted NULL used as sentinel
439 Wstrict-prototypes
440 C ObjC Var(warn_strict_prototypes) Warning
441 Warn about unprototyped function declarations
443 Wstrict-selector-match
444 ObjC ObjC++ Var(warn_strict_selector_match) Warning
445 Warn if type signatures of candidate methods do not match exactly
447 Wsync-nand
448 C C++ Var(warn_sync_nand) Init(1) Warning
449 Warn when __sync_fetch_and_nand and __sync_nand_and_fetch built-in functions are used
451 Wsynth
452 C++ ObjC++ Var(warn_synth) Warning
453 Deprecated.  This switch has no effect
455 Wsystem-headers
456 C ObjC C++ ObjC++ Warning
457 ; Documented in common.opt
459 Wtraditional
460 C ObjC Var(warn_traditional) Warning
461 Warn about features not present in traditional C
463 Wtraditional-conversion
464 C ObjC Var(warn_traditional_conversion) Warning
465 Warn of prototypes causing type conversions different from what would happen in the absence of prototype
467 Wtrigraphs
468 C ObjC C++ ObjC++ Warning
469 Warn if trigraphs are encountered that might affect the meaning of the program
471 Wundeclared-selector
472 ObjC ObjC++ Var(warn_undeclared_selector) Warning
473 Warn about @selector()s without previously declared methods
475 Wundef
476 C ObjC C++ ObjC++ Warning
477 Warn if an undefined macro is used in an #if directive
479 Wunknown-pragmas
480 C ObjC C++ ObjC++ Warning
481 Warn about unrecognized pragmas
483 Wunsuffixed-float-constants
484 C ObjC Var(warn_unsuffixed_float_constants) Warning
485 Warn about unsuffixed float constants
487 Wunused-macros
488 C ObjC C++ ObjC++ Warning
489 Warn about macros defined in the main file that are not used
491 Wunused-result
492 C ObjC C++ ObjC++ Var(warn_unused_result) Init(1) Warning
493 Warn if a caller of a function, marked with attribute warn_unused_result, does not use its return value
495 Wvariadic-macros
496 C ObjC C++ ObjC++ Warning
497 Do not warn about using variadic macros when -pedantic
499 Wvla
500 C ObjC C++ ObjC++ Var(warn_vla) Init(-1) Warning
501 Warn if a variable length array is used
503 Wvolatile-register-var
504 C ObjC C++ ObjC++ Var(warn_volatile_register_var) Warning
505 Warn when a register variable is declared volatile
507 Wwrite-strings
508 C ObjC C++ ObjC++ Var(warn_write_strings) Warning
509 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.
511 Wpointer-sign
512 C ObjC Var(warn_pointer_sign) Init(-1) Warning
513 Warn when a pointer differs in signedness in an assignment
515 ansi
516 C ObjC C++ ObjC++
517 A synonym for -std=c89 (for C) or -std=c++98 (for C++)
520 C ObjC C++ ObjC++ Joined
521 ; Documented in common.opt.  FIXME - what about -dI, -dD, -dN and -dD?
523 faccess-control
524 C++ ObjC++
525 Enforce class member access control semantics
527 fall-virtual
528 C++ ObjC++
530 falt-external-templates
531 C++ ObjC++
532 Change when template instances are emitted
534 fasm
535 C ObjC C++ ObjC++
536 Recognize the \"asm\" keyword
538 fbuiltin
539 C ObjC C++ ObjC++
540 Recognize built-in functions
542 fbuiltin-
543 C ObjC C++ ObjC++ Joined
545 fcheck-new
546 C++ ObjC++
547 Check the return value of new
549 fcond-mismatch
550 C ObjC C++ ObjC++
551 Allow the arguments of the '?' operator to have different types
553 fconserve-space
554 C++ ObjC++
555 Reduce the size of object files
557 fconstant-string-class=
558 ObjC ObjC++ Joined
559 -fconst-string-class=<name>     Use class <name> for constant strings
561 fdeduce-init-list
562 C++ ObjC++ Var(flag_deduce_init_list) Init(1)
563 -fno-deduce-init-list   disable deduction of std::initializer_list for a template type parameter from a brace-enclosed initializer-list
565 fdefault-inline
566 C++ ObjC++
567 Inline member functions by default
569 fdirectives-only
570 C ObjC C++ ObjC++
571 Preprocess directives only.
573 fdollars-in-identifiers
574 C ObjC C++ ObjC++
575 Permit '$' as an identifier character
577 felide-constructors
578 C++ ObjC++
580 fenforce-eh-specs
581 C++ ObjC++
582 Generate code to check exception specifications
584 fenum-int-equiv
585 C++ ObjC++
587 fexec-charset=
588 C ObjC C++ ObjC++ Joined RejectNegative
589 -fexec-charset=<cset>   Convert all strings and character constants to character set <cset>
591 fextended-identifiers
592 C ObjC C++ ObjC++
593 Permit universal character names (\\u and \\U) in identifiers
595 finput-charset=
596 C ObjC C++ ObjC++ Joined RejectNegative
597 -finput-charset=<cset>  Specify the default character set for source files
600 fexternal-templates
601 C++ ObjC++
603 ffor-scope
604 C++ ObjC++
605 Scope of for-init-statement variables is local to the loop
607 ffreestanding
608 C ObjC C++ ObjC++
609 Do not assume that standard C libraries and \"main\" exist
611 fgnu-keywords
612 C++ ObjC++
613 Recognize GNU-defined keywords
615 fgnu-runtime
616 ObjC ObjC++
617 Generate code for GNU runtime environment
619 fgnu89-inline
620 C ObjC Var(flag_gnu89_inline) Init(-1)
621 Use traditional GNU semantics for inline functions
623 fguiding-decls
624 C++ ObjC++
626 fhandle-exceptions
627 C++ ObjC++ Optimization
629 fhonor-std
630 C++ ObjC++
632 fhosted
633 C ObjC
634 Assume normal C execution environment
636 fhuge-objects
637 C++ ObjC++
638 Enable support for huge objects
640 fimplement-inlines
641 C++ ObjC++
642 Export functions even if they can be inlined
644 fimplicit-inline-templates
645 C++ ObjC++
646 Emit implicit instantiations of inline templates
648 fimplicit-templates
649 C++ ObjC++
650 Emit implicit instantiations of templates
652 ffriend-injection
653 C++ ObjC++ Var(flag_friend_injection)
654 Inject friend functions into enclosing namespace
656 flabels-ok
657 C++ ObjC++
659 flax-vector-conversions
660 C ObjC C++ ObjC++
661 Allow implicit conversions between vectors with differing numbers of subparts and/or differing element types.
663 fms-extensions
664 C ObjC C++ ObjC++
665 Don't warn about uses of Microsoft extensions
667 fname-mangling-version-
668 C++ ObjC++ Joined
670 fnew-abi
671 C++ ObjC++
673 fnext-runtime
674 ObjC ObjC++
675 Generate code for NeXT (Apple Mac OS X) runtime environment
677 fnil-receivers
678 ObjC ObjC++
679 Assume that receivers of Objective-C messages may be nil
681 fnonansi-builtins
682 C++ ObjC++
684 fnonnull-objects
685 C++ ObjC++
687 ; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
688 ; to initialize any non-POD ivars in Objective-C++ classes.
689 fobjc-call-cxx-cdtors
690 ObjC++ Var(flag_objc_call_cxx_cdtors)
691 Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed
693 fobjc-direct-dispatch
694 ObjC ObjC++ Var(flag_objc_direct_dispatch)
695 Allow fast jumps to the message dispatcher
697 ; Nonzero means that we will allow new ObjC exception syntax (@throw,
698 ; @try, etc.) in source code.
699 fobjc-exceptions
700 ObjC ObjC++ Var(flag_objc_exceptions)
701 Enable Objective-C exception and synchronization syntax
703 fobjc-gc
704 ObjC ObjC++ Var(flag_objc_gc)
705 Enable garbage collection (GC) in Objective-C/Objective-C++ programs
707 ; Nonzero means that we generate NeXT setjmp based exceptions.
708 fobjc-sjlj-exceptions
709 ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
710 Enable Objective-C setjmp exception handling runtime
712 fopenmp
713 C ObjC C++ ObjC++ Var(flag_openmp)
714 Enable OpenMP (implies -frecursive in Fortran)
716 foperator-names
717 C++ ObjC++
718 Recognize C++ keywords like \"compl\" and \"xor\"
720 foptional-diags
721 C++ ObjC++
722 Enable optional diagnostics
724 fpch-deps
725 C ObjC C++ ObjC++
727 fpch-preprocess
728 C ObjC C++ ObjC++
729 Look for and use PCH files even when preprocessing
731 fpermissive
732 C++ ObjC++
733 Downgrade conformance errors to warnings
735 fpreprocessed
736 C ObjC C++ ObjC++
737 Treat the input file as already preprocessed
739 fpretty-templates
740 C++ ObjC++
741 -fno-pretty-templates Do not pretty-print template specializations as the template signature followed by the arguments
743 freplace-objc-classes
744 ObjC ObjC++
745 Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
747 frepo
748 C++ ObjC++
749 Enable automatic template instantiation
751 frtti
752 C++ ObjC++ Optimization
753 Generate run time type descriptor information
755 fshort-double
756 C ObjC C++ ObjC++ Optimization
757 Use the same size for double as for float
759 fshort-enums
760 C ObjC C++ ObjC++ Optimization
761 Use the narrowest integer type possible for enumeration types
763 fshort-wchar
764 C ObjC C++ ObjC++ Optimization
765 Force the underlying type for \"wchar_t\" to be \"unsigned short\"
767 fsigned-bitfields
768 C ObjC C++ ObjC++
769 When \"signed\" or \"unsigned\" is not given make the bitfield signed
771 fsigned-char
772 C ObjC C++ ObjC++
773 Make \"char\" signed by default
775 fsquangle
776 C++ ObjC++
778 fstats
779 C++ ObjC++
780 Display statistics accumulated during compilation
782 fstrict-prototype
783 C++ ObjC++
785 ftabstop=
786 C ObjC C++ ObjC++ Joined RejectNegative UInteger
787 -ftabstop=<number>      Distance between tab stops for column reporting
789 ftemplate-depth-
790 C++ ObjC++ Joined RejectNegative UInteger
791 -ftemplate-depth-<number>       Specify maximum template instantiation depth
793 fthis-is-variable
794 C++ ObjC++
796 fthreadsafe-statics
797 C++ ObjC++ Optimization
798 -fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
800 funsigned-bitfields
801 C ObjC C++ ObjC++
802 When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
804 funsigned-char
805 C ObjC C++ ObjC++
806 Make \"char\" unsigned by default
808 fuse-cxa-atexit
809 C++ ObjC++
810 Use __cxa_atexit to register destructors
812 fuse-cxa-get-exception-ptr
813 C++ ObjC++
814 Use __cxa_get_exception_ptr in exception handling
816 fvisibility-inlines-hidden
817 C++ ObjC++
818 Marks all inlined methods as having hidden visibility
820 fvisibility-ms-compat
821 C++ ObjC++ Var(flag_visibility_ms_compat)
822 Changes visibility to match Microsoft Visual Studio by default
824 fvtable-gc
825 C++ ObjC++
826 Discard unused virtual functions
828 fvtable-thunks
829 C++ ObjC++
830 Implement vtables using thunks
832 fweak
833 C++ ObjC++
834 Emit common-like symbols as weak symbols
836 fwide-exec-charset=
837 C ObjC C++ ObjC++ Joined RejectNegative
838 -fwide-exec-charset=<cset>      Convert all wide strings and character constants to character set <cset>
840 fworking-directory
841 C ObjC C++ ObjC++
842 Generate a #line directive pointing at the current working directory
844 fxref
845 C++ ObjC++
846 Emit cross referencing information
848 fzero-link
849 ObjC ObjC++
850 Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
852 gen-decls
853 ObjC ObjC++
854 Dump declarations to a .decl file
856 femit-struct-debug-baseonly
857 C ObjC C++ ObjC++
858 -femit-struct-debug-baseonly    Aggressive reduced debug info for structs
860 femit-struct-debug-reduced
861 C ObjC C++ ObjC++
862 -femit-struct-debug-reduced     Conservative reduced debug info for structs
864 femit-struct-debug-detailed=
865 C ObjC C++ ObjC++ Joined
866 -femit-struct-debug-detailed=<spec-list>        Detailed reduced debug info for structs
868 idirafter
869 C ObjC C++ ObjC++ Joined Separate
870 -idirafter <dir>        Add <dir> to the end of the system include path
872 imacros
873 C ObjC C++ ObjC++ Joined Separate
874 -imacros <file> Accept definition of macros in <file>
876 imultilib
877 C ObjC C++ ObjC++ Joined Separate
878 -imultilib <dir> Set <dir> to be the multilib include subdirectory
880 include
881 C ObjC C++ ObjC++ Joined Separate
882 -include <file> Include the contents of <file> before other files
884 iprefix
885 C ObjC C++ ObjC++ Joined Separate
886 -iprefix <path> Specify <path> as a prefix for next two options
888 isysroot
889 C ObjC C++ ObjC++ Joined Separate
890 -isysroot <dir> Set <dir> to be the system root directory
892 isystem
893 C ObjC C++ ObjC++ Joined Separate
894 -isystem <dir>  Add <dir> to the start of the system include path
896 iquote
897 C ObjC C++ ObjC++ Joined Separate
898 -iquote <dir>   Add <dir> to the end of the quote include path
900 iwithprefix
901 C ObjC C++ ObjC++ Joined Separate
902 -iwithprefix <dir>      Add <dir> to the end of the system include path
904 iwithprefixbefore
905 C ObjC C++ ObjC++ Joined Separate
906 -iwithprefixbefore <dir>        Add <dir> to the end of the main include path
908 lang-asm
909 C Undocumented
911 lang-objc
912 C ObjC C++ ObjC++ Undocumented
914 nostdinc
915 C ObjC C++ ObjC++
916 Do not search standard system include directories (those specified with -isystem will still be used)
918 nostdinc++
919 C++ ObjC++
920 Do not search standard system include directories for C++
923 C ObjC C++ ObjC++ Joined Separate
924 ; Documented in common.opt
926 pedantic
927 C ObjC C++ ObjC++
928 ; Documented in common.opt
930 pedantic-errors
931 C ObjC C++ ObjC++
932 ; Documented in common.opt
934 print-objc-runtime-info
935 ObjC ObjC++
936 Generate C header of platform-specific features
938 print-pch-checksum
939 C ObjC C++ ObjC++
940 Print a checksum of the executable for PCH validity checking, and stop
942 remap
943 C ObjC C++ ObjC++
944 Remap file names when including files
946 std=c++98
947 C++ ObjC++
948 Conform to the ISO 1998 C++ standard
950 std=c++0x
951 C++ ObjC++
952 Conform to the ISO 1998 C++ standard, with extensions that are likely to
953 become a part of the upcoming ISO C++ standard, dubbed C++0x. Note that the
954 extensions enabled by this mode are experimental and may be removed in
955 future releases of GCC.
957 std=c89
958 C ObjC
959 Conform to the ISO 1990 C standard
961 std=c99
962 C ObjC
963 Conform to the ISO 1999 C standard
965 std=c9x
966 C ObjC
967 Deprecated in favor of -std=c99
969 std=gnu++98
970 C++ ObjC++
971 Conform to the ISO 1998 C++ standard with GNU extensions
973 std=gnu++0x
974 C++ ObjC++
975 Conform to the ISO 1998 C++ standard, with GNU extensions and
976 extensions that are likely to become a part of the upcoming ISO C++
977 standard, dubbed C++0x. Note that the extensions enabled by this mode
978 are experimental and may be removed in future releases of GCC.
980 std=gnu89
981 C ObjC
982 Conform to the ISO 1990 C standard with GNU extensions
984 std=gnu99
985 C ObjC
986 Conform to the ISO 1999 C standard with GNU extensions
988 std=gnu9x
989 C ObjC
990 Deprecated in favor of -std=gnu99
992 std=iso9899:1990
993 C ObjC
994 Conform to the ISO 1990 C standard
996 std=iso9899:199409
997 C ObjC
998 Conform to the ISO 1990 C standard as amended in 1994
1000 std=iso9899:1999
1001 C ObjC
1002 Conform to the ISO 1999 C standard
1004 std=iso9899:199x
1005 C ObjC
1006 Deprecated in favor of -std=iso9899:1999
1008 traditional-cpp
1009 C ObjC C++ ObjC++
1010 Enable traditional preprocessing
1012 trigraphs
1013 C ObjC C++ ObjC++
1014 -trigraphs      Support ISO C trigraphs
1016 undef
1017 C ObjC C++ ObjC++
1018 Do not predefine system-specific and GCC-specific macros
1021 Common C ObjC C++ ObjC++
1022 Enable verbose output
1025 C ObjC C++ ObjC++
1026 ; Documented in common.opt
1028 ; This comment is to ensure we retain the blank line above.