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