OSDN Git Service

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