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