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