OSDN Git Service

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