]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/gcc/c.opt
MFC r258826, r259555, r 259558:
[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 Wmultichar
288 C ObjC C++ ObjC++
289 Warn about use of multi-character character constants
290
291 Wnested-externs
292 C ObjC Var(warn_nested_externs)
293 Warn about \"extern\" declarations not at file scope
294
295 ; APPLE LOCAL begin -Wnewline-eof
296 Wnewline-eof
297 C ObjC C++ ObjC++
298 Warn about files missing a newline at the end of the file
299 ; APPLE LOCAL end -Wnewline-eof
300
301 Wnon-template-friend
302 C++ ObjC++ Var(warn_nontemplate_friend) Init(1)
303 Warn when non-templatized friend functions are declared within a template
304
305 Wnon-virtual-dtor
306 C++ ObjC++ Var(warn_nonvdtor)
307 Warn about non-virtual destructors
308
309 Wnonnull
310 C ObjC Var(warn_nonnull)
311 Warn about NULL being passed to argument slots marked as requiring non-NULL
312
313 Wnormalized=
314 C ObjC C++ ObjC++ Joined
315 -Wnormalized=<id|nfc|nfkc>      Warn about non-normalised Unicode strings
316
317 Wold-style-cast
318 C++ ObjC++ Var(warn_old_style_cast)
319 Warn if a C-style cast is used in a program
320
321 Wold-style-definition
322 C ObjC Var(warn_old_style_definition)
323 Warn if an old-style parameter definition is used
324
325 Woverlength-strings
326 C ObjC C++ ObjC++ Var(warn_overlength_strings) Init(-1)
327 Warn if a string is longer than the maximum portable length specified by the standard
328
329 Woverloaded-virtual
330 C++ ObjC++ Var(warn_overloaded_virtual)
331 Warn about overloaded virtual function names
332
333 Woverride-init
334 C ObjC Var(warn_override_init) Init(-1)
335 Warn about overriding initializers without side effects
336
337 Wparentheses
338 C ObjC C++ ObjC++ Var(warn_parentheses)
339 Warn about possibly missing parentheses
340
341 Wpmf-conversions
342 C++ ObjC++ Var(warn_pmf2ptr) Init(1)
343 Warn when converting the type of pointers to member functions
344
345 Wpointer-arith
346 C ObjC C++ ObjC++ Var(warn_pointer_arith)
347 Warn about function pointer arithmetic
348
349 Wpointer-to-int-cast
350 C ObjC Var(warn_pointer_to_int_cast) Init(1)
351 Warn when a pointer is cast to an integer of a different size
352
353 Wpragmas
354 C ObjC C++ ObjC++ Var(warn_pragmas) Init(1)
355 Warn about misuses of pragmas
356
357 Wprotocol
358 ObjC ObjC++ Var(warn_protocol) Init(1)
359 Warn if inherited methods are unimplemented
360
361 Wredundant-decls
362 C ObjC C++ ObjC++ Var(warn_redundant_decls)
363 Warn about multiple declarations of the same object
364
365 Wreorder
366 C++ ObjC++ Var(warn_reorder)
367 Warn when the compiler reorders code
368
369 Wreturn-type
370 C ObjC C++ ObjC++ Var(warn_return_type)
371 Warn whenever a function's return type defaults to \"int\" (C), or about inconsistent return types (C++)
372
373 Wselector
374 ObjC ObjC++ Var(warn_selector)
375 Warn if a selector has multiple methods
376
377 Wsequence-point
378 C ObjC C++ ObjC++ Var(warn_sequence_point)
379 Warn about possible violations of sequence point rules
380
381 Wsign-compare
382 C ObjC C++ ObjC++ Var(warn_sign_compare) Init(-1)
383 Warn about signed-unsigned comparisons
384
385 Wsign-promo
386 C++ ObjC++ Var(warn_sign_promo)
387 Warn when overload promotes from unsigned to signed
388
389 Wstrict-null-sentinel
390 C++ ObjC++
391 Warn about uncasted NULL used as sentinel
392
393 Wstrict-prototypes
394 C ObjC Var(warn_strict_prototypes)
395 Warn about unprototyped function declarations
396
397 Wstrict-selector-match
398 ObjC ObjC++ Var(warn_strict_selector_match)
399 Warn if type signatures of candidate methods do not match exactly
400
401 Wsynth
402 C++ ObjC++ Var(warn_synth)
403 Warn when synthesis behavior differs from Cfront
404
405 Wsystem-headers
406 C ObjC C++ ObjC++
407 Do not suppress warnings from system headers
408
409 Wtraditional
410 C ObjC Var(warn_traditional)
411 Warn about features not present in traditional C
412
413 Wtrampolines
414 Common Var(warn_trampolines)
415 Warn when trampolines are emitted
416
417 Wtrigraphs
418 C ObjC C++ ObjC++
419 Warn if trigraphs are encountered that might affect the meaning of the program
420
421 Wundeclared-selector
422 ObjC ObjC++ Var(warn_undeclared_selector)
423 Warn about @selector()s without previously declared methods
424
425 Wundef
426 C ObjC C++ ObjC++
427 Warn if an undefined macro is used in an #if directive
428
429 Wunknown-pragmas
430 C ObjC C++ ObjC++
431 Warn about unrecognized pragmas
432
433 Wunused-macros
434 C ObjC C++ ObjC++
435 Warn about macros defined in the main file that are not used
436
437 Wvariadic-macros
438 C ObjC C++ ObjC++
439 Do not warn about using variadic macros when -pedantic
440
441 Wvla
442 C ObjC C++ ObjC++ Var(warn_vla) Init(-1) Warning
443 Warn if a variable length array is used
444
445 Wwrite-strings
446 C ObjC C++ ObjC++ Var(warn_write_strings)
447 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.
448
449 Wpointer-sign
450 C ObjC Var(warn_pointer_sign) Init(-1)
451 Warn when a pointer differs in signedness in an assignment
452
453 ansi
454 C ObjC C++ ObjC++
455 A synonym for -std=c89 (for C) or -std=c++98 (for C++)
456
457 d
458 C ObjC C++ ObjC++ Joined
459 ; Documented in common.opt.  FIXME - what about -dI, -dD, -dN and -dD?
460
461 faccess-control
462 C++ ObjC++
463 Enforce class member access control semantics
464
465 fall-virtual
466 C++ ObjC++
467
468 falt-external-templates
469 C++ ObjC++
470 Change when template instances are emitted
471
472 fasm
473 C ObjC C++ ObjC++
474 Recognize the \"asm\" keyword
475
476 fbuiltin
477 C ObjC C++ ObjC++
478 Recognize built-in functions
479
480 fbuiltin-
481 C ObjC C++ ObjC++ Joined
482
483 fcheck-new
484 C++ ObjC++
485 Check the return value of new
486
487 fcond-mismatch
488 C ObjC C++ ObjC++
489 Allow the arguments of the '?' operator to have different types
490
491 fconserve-space
492 C++ ObjC++
493 Reduce the size of object files
494
495 fconstant-string-class=
496 ObjC ObjC++ Joined
497 -fconst-string-class=<name>     Use class <name> for constant strings
498
499 fdefault-inline
500 C++ ObjC++
501 Inline member functions by default
502
503 fdirectives-only
504 C ObjC C++ ObjC++
505 Preprocess directives only.
506
507 fdollars-in-identifiers
508 C ObjC C++ ObjC++
509 Permit '$' as an identifier character
510
511 felide-constructors
512 C++ ObjC++
513
514 fenforce-eh-specs
515 C++ ObjC++
516 Generate code to check exception specifications
517
518 fenum-int-equiv
519 C++ ObjC++
520
521 fexec-charset=
522 C ObjC C++ ObjC++ Joined RejectNegative
523 -fexec-charset=<cset>   Convert all strings and character constants to character set <cset>
524
525 fextended-identifiers
526 C ObjC C++ ObjC++
527 Permit universal character names (\\u and \\U) in identifiers
528
529 finput-charset=
530 C ObjC C++ ObjC++ Joined RejectNegative
531 -finput-charset=<cset>  Specify the default character set for source files
532
533
534 fexternal-templates
535 C++ ObjC++
536
537 ffor-scope
538 C++ ObjC++
539 Scope of for-init-statement variables is local to the loop
540
541 ffreestanding
542 C ObjC
543 Do not assume that standard C libraries and \"main\" exist
544
545 fgnu-keywords
546 C++ ObjC++
547 Recognize GNU-defined keywords
548
549 fgnu-runtime
550 ObjC ObjC++
551 Generate code for GNU runtime environment
552
553 fgnu89-inline
554 C ObjC Var(flag_gnu89_inline) Init(-1)
555 Use traditional GNU semantics for inline functions
556
557 fguiding-decls
558 C++ ObjC++
559
560 fhandle-exceptions
561 C++ ObjC++
562
563 fhonor-std
564 C++ ObjC++
565
566 fhosted
567 C ObjC
568 Assume normal C execution environment
569
570 fhuge-objects
571 C++ ObjC++
572 Enable support for huge objects
573
574 fimplement-inlines
575 C++ ObjC++
576 Export functions even if they can be inlined
577
578 fimplicit-inline-templates
579 C++ ObjC++
580 Emit implicit instantiations of inline templates
581
582 fimplicit-templates
583 C++ ObjC++
584 Emit implicit instantiations of templates
585
586 ffriend-injection
587 C++ ObjC++ Var(flag_friend_injection)
588 Inject friend functions into enclosing namespace
589
590 flabels-ok
591 C++ ObjC++
592
593 fms-extensions
594 C ObjC C++ ObjC++
595 Don't warn about uses of Microsoft extensions
596
597 fname-mangling-version-
598 C++ ObjC++ Joined
599
600 fnew-abi
601 C++ ObjC++
602
603 fnext-runtime
604 ObjC ObjC++
605 Generate code for NeXT (Apple Mac OS X) runtime environment
606
607 fnil-receivers
608 ObjC ObjC++
609 Assume that receivers of Objective-C messages may be nil
610
611 fnonansi-builtins
612 C++ ObjC++
613
614 fnonnull-objects
615 C++ ObjC++
616
617 ; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
618 ; to initialize any non-POD ivars in Objective-C++ classes.
619 fobjc-call-cxx-cdtors
620 ObjC++ Var(flag_objc_call_cxx_cdtors)
621 Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed
622
623 fobjc-direct-dispatch
624 ObjC ObjC++ Var(flag_objc_direct_dispatch)
625 Allow fast jumps to the message dispatcher
626
627 ; Nonzero means that we will allow new ObjC exception syntax (@throw,
628 ; @try, etc.) in source code.
629 fobjc-exceptions
630 ObjC ObjC++ Var(flag_objc_exceptions)
631 Enable Objective-C exception and synchronization syntax
632
633 fobjc-gc
634 ObjC ObjC++ Var(flag_objc_gc)
635 Enable garbage collection (GC) in Objective-C/Objective-C++ programs
636
637 ; Nonzero means that we generate NeXT setjmp based exceptions.
638 fobjc-sjlj-exceptions
639 ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
640 Enable Objective-C setjmp exception handling runtime
641
642 fopenmp
643 C ObjC C++ ObjC++ Var(flag_openmp)
644 Enable OpenMP
645
646 foperator-names
647 C++ ObjC++
648 Recognize C++ kewords like \"compl\" and \"xor\"
649
650 foptional-diags
651 C++ ObjC++
652 Enable optional diagnostics
653
654 fpch-deps
655 C ObjC C++ ObjC++
656
657 fpch-preprocess
658 C ObjC C++ ObjC++
659 Look for and use PCH files even when preprocessing
660
661 fpermissive
662 C++ ObjC++
663 Downgrade conformance errors to warnings
664
665 fpreprocessed
666 C ObjC C++ ObjC++
667 Treat the input file as already preprocessed
668
669 freplace-objc-classes
670 ObjC ObjC++
671 Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
672
673 frepo
674 C++ ObjC++
675 Enable automatic template instantiation
676
677 frtti
678 C++ ObjC++
679 Generate run time type descriptor information
680
681 fshort-double
682 C ObjC C++ ObjC++
683 Use the same size for double as for float
684
685 fshort-enums
686 C ObjC C++ ObjC++
687 Use the narrowest integer type possible for enumeration types
688
689 fshort-wchar
690 C ObjC C++ ObjC++
691 Force the underlying type for \"wchar_t\" to be \"unsigned short\"
692
693 fsigned-bitfields
694 C ObjC C++ ObjC++
695 When \"signed\" or \"unsigned\" is not given make the bitfield signed
696
697 fsigned-char
698 C ObjC C++ ObjC++
699 Make \"char\" signed by default
700
701 fsquangle
702 C++ ObjC++
703
704 fstats
705 C++ ObjC++
706 Display statistics accumulated during compilation
707
708 fstrict-prototype
709 C++ ObjC++
710
711 ftabstop=
712 C ObjC C++ ObjC++ Joined RejectNegative UInteger
713 -ftabstop=<number>      Distance between tab stops for column reporting
714
715 ftemplate-depth-
716 C++ ObjC++ Joined RejectNegative UInteger
717 -ftemplate-depth-<number>       Specify maximum template instantiation depth
718
719 fthis-is-variable
720 C++ ObjC++
721
722 fthreadsafe-statics
723 C++ ObjC++
724 -fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
725
726 funsigned-bitfields
727 C ObjC C++ ObjC++
728 When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
729
730 funsigned-char
731 C ObjC C++ ObjC++
732 Make \"char\" unsigned by default
733
734 fuse-cxa-atexit
735 C++ ObjC++
736 Use __cxa_atexit to register destructors
737
738 fuse-cxa-get-exception-ptr
739 C++ ObjC++
740 Use __cxa_get_exception_ptr in exception handling
741
742 fvisibility-inlines-hidden
743 C++ ObjC++
744 Marks all inlined methods as having hidden visibility
745
746 fvtable-gc
747 C++ ObjC++
748 Discard unused virtual functions
749
750 fvtable-thunks
751 C++ ObjC++
752 Implement vtables using thunks
753
754 fweak
755 C++ ObjC++
756 Emit common-like symbols as weak symbols
757
758 fwide-exec-charset=
759 C ObjC C++ ObjC++ Joined RejectNegative
760 -fwide-exec-charset=<cset>      Convert all wide strings and character constants to character set <cset>
761
762 fworking-directory
763 C ObjC C++ ObjC++
764 Generate a #line directive pointing at the current working directory
765
766 fxref
767 C++ ObjC++
768 Emit cross referencing information
769
770 fzero-link
771 ObjC ObjC++
772 Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
773
774 gen-decls
775 ObjC ObjC++
776 Dump declarations to a .decl file
777
778 femit-struct-debug-baseonly
779 C ObjC C++ ObjC++
780 -femit-struct-debug-baseonly    Aggressive reduced debug info for structs
781
782 femit-struct-debug-reduced
783 C ObjC C++ ObjC++
784 -femit-struct-debug-reduced     Conservative reduced debug info for structs
785
786 femit-struct-debug-detailed=
787 C ObjC C++ ObjC++ Joined
788 -femit-struct-debug-detailed=<spec-list>        Detailed reduced debug info for structs
789
790 idirafter
791 C ObjC C++ ObjC++ Joined Separate
792 -idirafter <dir>        Add <dir> to the end of the system include path
793
794 imacros
795 C ObjC C++ ObjC++ Joined Separate
796 -imacros <file> Accept definition of macros in <file>
797
798 imultilib
799 C ObjC C++ ObjC++ Joined Separate
800 -imultilib <dir> Set <dir> to be the multilib include subdirectory
801
802 include
803 C ObjC C++ ObjC++ Joined Separate
804 -include <file> Include the contents of <file> before other files
805
806 iprefix
807 C ObjC C++ ObjC++ Joined Separate
808 -iprefix <path> Specify <path> as a prefix for next two options
809
810 isysroot
811 C ObjC C++ ObjC++ Joined Separate
812 -isysroot <dir> Set <dir> to be the system root directory
813
814 isystem
815 C ObjC C++ ObjC++ Joined Separate
816 -isystem <dir>  Add <dir> to the start of the system include path
817
818 iquote
819 C ObjC C++ ObjC++ Joined Separate
820 -iquote <dir>   Add <dir> to the end of the quote include path
821
822 iwithprefix
823 C ObjC C++ ObjC++ Joined Separate
824 -iwithprefix <dir>      Add <dir> to the end of the system include path
825
826 iwithprefixbefore
827 C ObjC C++ ObjC++ Joined Separate
828 -iwithprefixbefore <dir>        Add <dir> to the end of the main include path
829
830 lang-asm
831 C Undocumented
832
833 lang-fortran
834 C Undocumented
835
836 lang-objc
837 C ObjC C++ ObjC++ Undocumented
838
839 nostdinc
840 C ObjC C++ ObjC++
841 Do not search standard system include directories (those specified with -isystem will still be used)
842
843 nostdinc++
844 C++ ObjC++
845 Do not search standard system include directories for C++
846
847 o
848 C ObjC C++ ObjC++ Joined Separate
849 ; Documented in common.opt
850
851 pedantic
852 C ObjC C++ ObjC++
853 ; Documented in common.opt
854
855 pedantic-errors
856 C ObjC C++ ObjC++
857 ; Documented in common.opt
858
859 print-objc-runtime-info
860 ObjC ObjC++
861 Generate C header of platform-specific features
862
863 print-pch-checksum
864 C ObjC C++ ObjC++
865 Print a checksum of the executable for PCH validity checking, and stop
866
867 remap
868 C ObjC C++ ObjC++
869 Remap file names when including files
870
871 std=c++98
872 C++ ObjC++
873 Conform to the ISO 1998 C++ standard
874
875 std=c89
876 C ObjC
877 Conform to the ISO 1990 C standard
878
879 std=c99
880 C ObjC
881 Conform to the ISO 1999 C standard
882
883 std=c9x
884 C ObjC
885 Deprecated in favor of -std=c99
886
887 std=gnu++98
888 C++ ObjC++
889 Conform to the ISO 1998 C++ standard with GNU extensions
890
891 std=gnu89
892 C ObjC
893 Conform to the ISO 1990 C standard with GNU extensions
894
895 std=gnu99
896 C ObjC
897 Conform to the ISO 1999 C standard with GNU extensions
898
899 std=gnu9x
900 C ObjC
901 Deprecated in favor of -std=gnu99
902
903 std=iso9899:1990
904 C ObjC
905 Conform to the ISO 1990 C standard
906
907 std=iso9899:199409
908 C ObjC
909 Conform to the ISO 1990 C standard as amended in 1994
910
911 std=iso9899:1999
912 C ObjC
913 Conform to the ISO 1999 C standard
914
915 std=iso9899:199x
916 C ObjC
917 Deprecated in favor of -std=iso9899:1999
918
919 traditional-cpp
920 C ObjC C++ ObjC++
921 Enable traditional preprocessing
922
923 trigraphs
924 C ObjC C++ ObjC++
925 -trigraphs      Support ISO C trigraphs
926
927 undef
928 C ObjC C++ ObjC++
929 Do not predefine system-specific and GCC-specific macros
930
931 v
932 C ObjC C++ ObjC++
933 Enable verbose output
934
935 w
936 C ObjC C++ ObjC++
937 ; Documented in common.opt
938
939 ; This comment is to ensure we retain the blank line above.