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