c.opt revision 225736
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: stable/9/contrib/gcc/c.opt 223715 2011-07-01 20:45:55Z uqs $
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
407Wtrampolines
408Common Var(warn_trampolines)
409Warn when trampolines are emitted
410
411Wtrigraphs
412C ObjC C++ ObjC++
413Warn if trigraphs are encountered that might affect the meaning of the program
414
415Wundeclared-selector
416ObjC ObjC++ Var(warn_undeclared_selector)
417Warn about @selector()s without previously declared methods
418
419Wundef
420C ObjC C++ ObjC++
421Warn if an undefined macro is used in an #if directive
422
423Wunknown-pragmas
424C ObjC C++ ObjC++
425Warn about unrecognized pragmas
426
427Wunused-macros
428C ObjC C++ ObjC++
429Warn about macros defined in the main file that are not used
430
431Wvariadic-macros
432C ObjC C++ ObjC++
433Do not warn about using variadic macros when -pedantic
434
435Wwrite-strings
436C ObjC C++ ObjC++ Var(warn_write_strings)
437In 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.
438
439Wpointer-sign
440C ObjC Var(warn_pointer_sign) Init(-1)
441Warn when a pointer differs in signedness in an assignment
442
443ansi
444C ObjC C++ ObjC++
445A synonym for -std=c89 (for C) or -std=c++98 (for C++)
446
447d
448C ObjC C++ ObjC++ Joined
449; Documented in common.opt.  FIXME - what about -dI, -dD, -dN and -dD?
450
451faccess-control
452C++ ObjC++
453Enforce class member access control semantics
454
455fall-virtual
456C++ ObjC++
457
458falt-external-templates
459C++ ObjC++
460Change when template instances are emitted
461
462fasm
463C ObjC C++ ObjC++
464Recognize the \"asm\" keyword
465
466fbuiltin
467C ObjC C++ ObjC++
468Recognize built-in functions
469
470fbuiltin-
471C ObjC C++ ObjC++ Joined
472
473fcheck-new
474C++ ObjC++
475Check the return value of new
476
477fcond-mismatch
478C ObjC C++ ObjC++
479Allow the arguments of the '?' operator to have different types
480
481fconserve-space
482C++ ObjC++
483Reduce the size of object files
484
485fconstant-string-class=
486ObjC ObjC++ Joined
487-fconst-string-class=<name>	Use class <name> for constant strings
488
489fdefault-inline
490C++ ObjC++
491Inline member functions by default
492
493fdollars-in-identifiers
494C ObjC C++ ObjC++
495Permit '$' as an identifier character
496
497felide-constructors
498C++ ObjC++
499
500fenforce-eh-specs
501C++ ObjC++
502Generate code to check exception specifications
503
504fenum-int-equiv
505C++ ObjC++
506
507fexec-charset=
508C ObjC C++ ObjC++ Joined RejectNegative
509-fexec-charset=<cset>	Convert all strings and character constants to character set <cset>
510
511fextended-identifiers
512C ObjC C++ ObjC++
513Permit universal character names (\\u and \\U) in identifiers
514
515finput-charset=
516C ObjC C++ ObjC++ Joined RejectNegative
517-finput-charset=<cset>	Specify the default character set for source files
518
519
520fexternal-templates
521C++ ObjC++
522
523ffor-scope
524C++ ObjC++
525Scope of for-init-statement variables is local to the loop
526
527ffreestanding
528C ObjC
529Do not assume that standard C libraries and \"main\" exist
530
531fgnu-keywords
532C++ ObjC++
533Recognize GNU-defined keywords
534
535fgnu-runtime
536ObjC ObjC++
537Generate code for GNU runtime environment
538
539fgnu89-inline
540C ObjC Var(flag_gnu89_inline) Init(-1)
541Use traditional GNU semantics for inline functions
542
543fguiding-decls
544C++ ObjC++
545
546fhandle-exceptions
547C++ ObjC++
548
549fhonor-std
550C++ ObjC++
551
552fhosted
553C ObjC
554Assume normal C execution environment
555
556fhuge-objects
557C++ ObjC++
558Enable support for huge objects
559
560fimplement-inlines
561C++ ObjC++
562Export functions even if they can be inlined
563
564fimplicit-inline-templates
565C++ ObjC++
566Emit implicit instantiations of inline templates
567
568fimplicit-templates
569C++ ObjC++
570Emit implicit instantiations of templates
571
572ffriend-injection
573C++ ObjC++ Var(flag_friend_injection)
574Inject friend functions into enclosing namespace
575
576flabels-ok
577C++ ObjC++
578
579fms-extensions
580C ObjC C++ ObjC++
581Don't warn about uses of Microsoft extensions
582
583fname-mangling-version-
584C++ ObjC++ Joined
585
586fnew-abi
587C++ ObjC++
588
589fnext-runtime
590ObjC ObjC++
591Generate code for NeXT (Apple Mac OS X) runtime environment
592
593fnil-receivers
594ObjC ObjC++
595Assume that receivers of Objective-C messages may be nil
596
597fnonansi-builtins
598C++ ObjC++
599
600fnonnull-objects
601C++ ObjC++
602
603; Generate special '- .cxx_construct' and '- .cxx_destruct' methods
604; to initialize any non-POD ivars in Objective-C++ classes.
605fobjc-call-cxx-cdtors
606ObjC++ Var(flag_objc_call_cxx_cdtors)
607Generate special Objective-C methods to initialize/destroy non-POD C++ ivars, if needed
608
609fobjc-direct-dispatch
610ObjC ObjC++ Var(flag_objc_direct_dispatch)
611Allow fast jumps to the message dispatcher
612
613; Nonzero means that we will allow new ObjC exception syntax (@throw,
614; @try, etc.) in source code.
615fobjc-exceptions
616ObjC ObjC++ Var(flag_objc_exceptions)
617Enable Objective-C exception and synchronization syntax
618
619fobjc-gc
620ObjC ObjC++ Var(flag_objc_gc)
621Enable garbage collection (GC) in Objective-C/Objective-C++ programs
622
623; Nonzero means that we generate NeXT setjmp based exceptions.
624fobjc-sjlj-exceptions
625ObjC ObjC++ Var(flag_objc_sjlj_exceptions) Init(-1)
626Enable Objective-C setjmp exception handling runtime
627
628fopenmp
629C ObjC C++ ObjC++ Var(flag_openmp)
630Enable OpenMP
631
632foperator-names
633C++ ObjC++
634Recognize C++ kewords like \"compl\" and \"xor\"
635
636foptional-diags
637C++ ObjC++
638Enable optional diagnostics
639
640fpch-deps
641C ObjC C++ ObjC++
642
643fpch-preprocess
644C ObjC C++ ObjC++
645Look for and use PCH files even when preprocessing
646
647fpermissive
648C++ ObjC++
649Downgrade conformance errors to warnings
650
651fpreprocessed
652C ObjC C++ ObjC++
653Treat the input file as already preprocessed
654
655freplace-objc-classes
656ObjC ObjC++
657Used in Fix-and-Continue mode to indicate that object files may be swapped in at runtime
658
659frepo
660C++ ObjC++
661Enable automatic template instantiation
662
663frtti
664C++ ObjC++
665Generate run time type descriptor information
666
667fshort-double
668C ObjC C++ ObjC++
669Use the same size for double as for float
670
671fshort-enums
672C ObjC C++ ObjC++
673Use the narrowest integer type possible for enumeration types
674
675fshort-wchar
676C ObjC C++ ObjC++
677Force the underlying type for \"wchar_t\" to be \"unsigned short\"
678
679fsigned-bitfields
680C ObjC C++ ObjC++
681When \"signed\" or \"unsigned\" is not given make the bitfield signed
682
683fsigned-char
684C ObjC C++ ObjC++
685Make \"char\" signed by default
686
687fsquangle
688C++ ObjC++
689
690fstats
691C++ ObjC++
692Display statistics accumulated during compilation
693
694fstrict-prototype
695C++ ObjC++
696
697ftabstop=
698C ObjC C++ ObjC++ Joined RejectNegative UInteger
699-ftabstop=<number>	Distance between tab stops for column reporting
700
701ftemplate-depth-
702C++ ObjC++ Joined RejectNegative UInteger
703-ftemplate-depth-<number>	Specify maximum template instantiation depth
704
705fthis-is-variable
706C++ ObjC++
707
708fthreadsafe-statics
709C++ ObjC++
710-fno-threadsafe-statics	Do not generate thread-safe code for initializing local statics
711
712funsigned-bitfields
713C ObjC C++ ObjC++
714When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
715
716funsigned-char
717C ObjC C++ ObjC++
718Make \"char\" unsigned by default
719
720fuse-cxa-atexit
721C++ ObjC++
722Use __cxa_atexit to register destructors
723
724fuse-cxa-get-exception-ptr
725C++ ObjC++
726Use __cxa_get_exception_ptr in exception handling
727
728fvisibility-inlines-hidden
729C++ ObjC++
730Marks all inlined methods as having hidden visibility
731
732fvtable-gc
733C++ ObjC++
734Discard unused virtual functions
735
736fvtable-thunks
737C++ ObjC++
738Implement vtables using thunks
739
740fweak
741C++ ObjC++
742Emit common-like symbols as weak symbols
743
744fwide-exec-charset=
745C ObjC C++ ObjC++ Joined RejectNegative
746-fwide-exec-charset=<cset>	Convert all wide strings and character constants to character set <cset>
747
748fworking-directory
749C ObjC C++ ObjC++
750Generate a #line directive pointing at the current working directory
751
752fxref
753C++ ObjC++
754Emit cross referencing information
755
756fzero-link
757ObjC ObjC++
758Generate lazy class lookup (via objc_getClass()) for use in Zero-Link mode
759
760gen-decls
761ObjC ObjC++
762Dump declarations to a .decl file
763
764idirafter
765C ObjC C++ ObjC++ Joined Separate
766-idirafter <dir>	Add <dir> to the end of the system include path
767
768imacros
769C ObjC C++ ObjC++ Joined Separate
770-imacros <file>	Accept definition of macros in <file>
771
772imultilib
773C ObjC C++ ObjC++ Joined Separate
774-imultilib <dir> Set <dir> to be the multilib include subdirectory
775
776include
777C ObjC C++ ObjC++ Joined Separate
778-include <file>	Include the contents of <file> before other files
779
780iprefix
781C ObjC C++ ObjC++ Joined Separate
782-iprefix <path>	Specify <path> as a prefix for next two options
783
784isysroot
785C ObjC C++ ObjC++ Joined Separate
786-isysroot <dir>	Set <dir> to be the system root directory
787
788isystem
789C ObjC C++ ObjC++ Joined Separate
790-isystem <dir>	Add <dir> to the start of the system include path
791
792iquote
793C ObjC C++ ObjC++ Joined Separate
794-iquote <dir>	Add <dir> to the end of the quote include path
795
796iwithprefix
797C ObjC C++ ObjC++ Joined Separate
798-iwithprefix <dir>	Add <dir> to the end of the system include path
799
800iwithprefixbefore
801C ObjC C++ ObjC++ Joined Separate
802-iwithprefixbefore <dir>	Add <dir> to the end of the main include path
803
804lang-asm
805C Undocumented
806
807lang-fortran
808C Undocumented
809
810lang-objc
811C ObjC C++ ObjC++ Undocumented
812
813nostdinc
814C ObjC C++ ObjC++
815Do not search standard system include directories (those specified with -isystem will still be used)
816
817nostdinc++
818C++ ObjC++
819Do not search standard system include directories for C++
820
821o
822C ObjC C++ ObjC++ Joined Separate
823; Documented in common.opt
824
825pedantic
826C ObjC C++ ObjC++
827; Documented in common.opt
828
829pedantic-errors
830C ObjC C++ ObjC++
831; Documented in common.opt
832
833print-objc-runtime-info
834ObjC ObjC++
835Generate C header of platform-specific features
836
837print-pch-checksum
838C ObjC C++ ObjC++
839Print a checksum of the executable for PCH validity checking, and stop
840
841remap
842C ObjC C++ ObjC++
843Remap file names when including files
844
845std=c++98
846C++ ObjC++
847Conform to the ISO 1998 C++ standard
848
849std=c89
850C ObjC
851Conform to the ISO 1990 C standard
852
853std=c99
854C ObjC
855Conform to the ISO 1999 C standard
856
857std=c9x
858C ObjC
859Deprecated in favor of -std=c99
860
861std=gnu++98
862C++ ObjC++
863Conform to the ISO 1998 C++ standard with GNU extensions
864
865std=gnu89
866C ObjC
867Conform to the ISO 1990 C standard with GNU extensions
868
869std=gnu99
870C ObjC
871Conform to the ISO 1999 C standard with GNU extensions
872
873std=gnu9x
874C ObjC
875Deprecated in favor of -std=gnu99
876
877std=iso9899:1990
878C ObjC
879Conform to the ISO 1990 C standard
880
881std=iso9899:199409
882C ObjC
883Conform to the ISO 1990 C standard as amended in 1994
884
885std=iso9899:1999
886C ObjC
887Conform to the ISO 1999 C standard
888
889std=iso9899:199x
890C ObjC
891Deprecated in favor of -std=iso9899:1999
892
893traditional-cpp
894C ObjC C++ ObjC++
895Enable traditional preprocessing
896
897trigraphs
898C ObjC C++ ObjC++
899-trigraphs	Support ISO C trigraphs
900
901undef
902C ObjC C++ ObjC++
903Do not predefine system-specific and GCC-specific macros
904
905v
906C ObjC C++ ObjC++
907Enable verbose output
908
909w
910C ObjC C++ ObjC++
911; Documented in common.opt
912
913; This comment is to ensure we retain the blank line above.
914