X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fc.opt;h=01d6428ea6aedff217c9d54b0b290caeaecea40d;hp=a148208e894aacddb5a2d1969c22bdaf3454672a;hb=529f23cd8bab3c1b5e0d4fafd0e49faadf43cf29;hpb=7cf0dbf3e5eee1286c76c26a836622c9c9974736 diff --git a/gcc/c.opt b/gcc/c.opt index a148208e894..01d6428ea6a 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -263,21 +263,22 @@ C ObjC C++ ObjC++ Var(warn_init_self) Warning Warn about variables which are initialized to themselves Wimplicit -C ObjC C++ ObjC++ Warning +C ObjC Var(warn_implicit) Init(-1) Warning +Warn about implicit declarations Wimplicit-function-declaration C ObjC Var(warn_implicit_function_declaration) Init(-1) Warning Warn about implicit function declarations Wimplicit-int -C ObjC Var(warn_implicit_int) Warning +C ObjC Var(warn_implicit_int) Init(-1) Warning Warn when a declaration does not specify a type Wimport C ObjC C++ ObjC++ Undocumented Wint-to-pointer-cast -C ObjC Var(warn_int_to_pointer_cast) Init(1) Warning +C ObjC C++ ObjC++ Var(warn_int_to_pointer_cast) Init(1) Warning Warn when there is a cast to a pointer from an integer of a different size Winvalid-offsetof @@ -688,6 +689,10 @@ C++ ObjC++ fnonnull-objects C++ ObjC++ +fnothrow-opt +C++ ObjC++ Optimization Var(flag_nothrow_opt) +Treat a throw() exception specification as noexcept to improve code size + ; Generate special '- .cxx_construct' and '- .cxx_destruct' methods ; to initialize any non-POD ivars in Objective-C++ classes. fobjc-call-cxx-cdtors @@ -783,6 +788,10 @@ fstats C++ ObjC++ Display statistics accumulated during compilation +fstrict-enums +C++ ObjC++ Optimization Var(flag_strict_enums) +Assume that values of enumeration type are always within the minimum range of that type + fstrict-prototype C++ ObjC++ @@ -961,6 +970,10 @@ become a part of the upcoming ISO C++ standard, dubbed C++0x. Note that the extensions enabled by this mode are experimental and may be removed in future releases of GCC. +std=c1x +C ObjC +Conform to the ISO 201X C standard draft (experimental and incomplete support) + std=c89 C ObjC Conform to the ISO 1990 C standard @@ -988,6 +1001,10 @@ extensions that are likely to become a part of the upcoming ISO C++ standard, dubbed C++0x. Note that the extensions enabled by this mode are experimental and may be removed in future releases of GCC. +std=gnu1x +C ObjC +Conform to the ISO 201X C standard draft with GNU extensions (experimental and incomplete support) + std=gnu89 C ObjC Conform to the ISO 1990 C standard with GNU extensions