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