OSDN Git Service

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