X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcommon.opt;h=e72d8cf3c33597fde2e51c58e90cf0bb9fef591d;hb=1638268c61ace59260331cf49f4b4040119e3b61;hp=c7c523c960bded8ce09751ddfea8368a6314009f;hpb=9efe50a4d79824946b1ee2e1ba14f454de1f3fe5;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/common.opt b/gcc/common.opt index c7c523c960b..e72d8cf3c33 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1,6 +1,6 @@ ; Options for the language- and target-independent parts of the compiler. -; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 ; Free Software Foundation, Inc. ; ; This file is part of GCC. @@ -313,7 +313,7 @@ Common Alias(pedantic) Common Alias(pedantic-errors) -pie -Common Alias(pie) +Driver Alias(pie) -pipe Driver Alias(pipe) @@ -345,6 +345,9 @@ Driver Alias(print-multi-lib) -print-multi-os-directory Driver Alias(print-multi-os-directory) +-print-multiarch +Driver Alias(print-multiarch) + -print-prog-name Driver Separate Alias(print-prog-name=) @@ -367,7 +370,7 @@ Common Alias(p) Driver Alias(save-temps) -shared -Common Alias(shared) +Driver Alias(shared) -specs Driver Separate Alias(specs=) @@ -551,6 +554,10 @@ Winline Common Var(warn_inline) Warning Warn when an inlined function cannot be inlined +Winvalid-memory-model +Common Var(warn_invalid_memory_model) Init(1) Warning +Warn when an atomic memory model parameter is known to be outside the valid range. + Wlarger-than- Common RejectNegative Joined Warning Undocumented Alias(Wlarger-than=) @@ -566,10 +573,6 @@ Wmissing-noreturn Common Var(warn_missing_noreturn) Warning Warn about functions which might be candidates for __attribute__((noreturn)) -Wmudflap -Common Var(warn_mudflap) Init(1) Warning -Warn about constructs not instrumented by -fmudflap - Woverflow Common Var(warn_overflow) Init(1) Warning Warn about overflow in arithmetic expressions @@ -694,6 +697,10 @@ Wcoverage-mismatch Common Var(warn_coverage_mismatch) Init(1) Warning Warn in case profiles in -fprofile-use do not match +Wvector-operation-performance +Common Var(warn_vector_operation_performance) Warning +Warn when a vector operation is compiled outside the SIMD + Xassembler Driver Separate @@ -778,7 +785,10 @@ Driver Undocumented ; function parameters used in other parameters and the return type. ; First selectable in G++ 4.6. ; -; 6: The version of the ABI that doesn't promote scoped enums to int. +; 6: The version of the ABI that doesn't promote scoped enums to int and +; changes the mangling of template argument packs, const/static_cast, +; prefix ++ and --, and a class scope function used as a template +; argument. ; First selectable in G++ 4.7. ; ; Additional positive integers will be assigned as new versions of @@ -1186,6 +1196,10 @@ floop-block Common Report Var(flag_loop_block) Optimization Enable Loop Blocking transformation +fgnu-tm +Common Report Var(flag_tm) +Enable support for GNU transactional memory + floop-flatten Common Report Var(flag_loop_flatten) Optimization Enable Loop Flattening transformation @@ -1234,26 +1248,23 @@ findirect-inlining Common Report Var(flag_indirect_inlining) Perform indirect inlining -; Nonzero means that functions declared `inline' will be treated -; as `static'. Prevents generation of zillions of copies of unused -; static inline functions; instead, `inlines' are written out -; only when actually used. Used in conjunction with -g. Also -; does the right thing with #pragma interface. +; General flag to enable inlining. Specifying -fno-inline will disable +; all inlining apart from always-inline functions. finline Common Report Var(flag_no_inline,0) Init(0) -Pay attention to the \"inline\" keyword +Enable inlining of function declared \"inline\", disabling disables all inlining finline-small-functions Common Report Var(flag_inline_small_functions) Optimization -Integrate simple functions into their callers when code size is known to not growth +Integrate functions into their callers when code size is known not to grow finline-functions Common Report Var(flag_inline_functions) Optimization -Integrate simple functions into their callers +Integrate functions not declared \"inline\" into their callers when profitable finline-functions-called-once Common Report Var(flag_inline_functions_called_once) Optimization -Integrate functions called once into their callers +Integrate functions only required by their single caller finline-limit- Common RejectNegative Joined Alias(finline-limit=) @@ -1262,6 +1273,10 @@ finline-limit= Common RejectNegative Joined UInteger -finline-limit= Limit the size of inlined functions to +finline-atomics +Common Report Var(flag_inline_atomics) Init(1) Optimization +Inline __atomic operations when a lock free instruction sequence is available. + finstrument-functions Common Report Var(flag_instrument_function_entry_exit) Instrument function entry and exit with profiling calls @@ -1321,7 +1336,7 @@ EnumValue Enum(ira_algorithm) String(priority) Value(IRA_ALGORITHM_PRIORITY) fira-region= -Common Joined RejectNegative Enum(ira_region) Var(flag_ira_region) Init(IRA_REGION_MIXED) +Common Joined RejectNegative Enum(ira_region) Var(flag_ira_region) Init(IRA_REGION_AUTODETECT) -fira-region=[one|all|mixed] Set regions for IRA Enum @@ -1403,7 +1418,7 @@ Common Joined RejectNegative UInteger Var(flag_lto_compression_level) Init(-1) -flto-compression-level= Use zlib compression level for IL flto-report -Common Report Var(flag_lto_report) Init(0) Optimization +Common Report Var(flag_lto_report) Init(0) Report various link-time optimization statistics fmath-errno @@ -1449,18 +1464,6 @@ fmove-loop-invariants Common Report Var(flag_move_loop_invariants) Init(1) Optimization Move loop invariant computations out of loops -fmudflap -Common RejectNegative Report Var(flag_mudflap) -Add mudflap bounds-checking instrumentation for single-threaded program - -fmudflapth -Common RejectNegative Report Var(flag_mudflap,2) -Add mudflap bounds-checking instrumentation for multi-threaded program - -fmudflapir -Common RejectNegative Report Var(flag_mudflap_ignore_reads) -Ignore read operations when inserting mudflap instrumentation - fdce Common Var(flag_dce) Init(1) Optimization Use the RTL dead code elimination pass @@ -1765,13 +1768,22 @@ Common Ignore Does nothing. Preserved for backward compatibility. fzee -Common Report Var(flag_zee) Init(0) -Eliminate redundant zero extensions on targets that support implicit extensions. +Common Ignore +Does nothing. Preserved for backward compatibility. + +free +Common Report Var(flag_ree) Init(0) +Turn on Redundant Extensions Elimination pass. fshow-column Common Report Var(flag_show_column) Init(1) Show column numbers in diagnostics, when available. Default on +fshrink-wrap +Common Report Var(flag_shrink_wrap) Optimization +Emit function prologues only before parts of the function that need it, +rather than at the top of the function. + fsignaling-nans Common Report Var(flag_signaling_nans) Optimization SetByCombined Disable optimizations observable by IEEE signaling NaNs @@ -2103,6 +2115,10 @@ fvar-tracking-assignments-toggle Common Report Var(flag_var_tracking_assignments_toggle) Optimization Toggle -fvar-tracking-assignments +; Positive if we should track uninitialized variables, negative if +; we should run the var-tracking pass only to discard debug +; annotations. When flag_var_tracking_uninit == AUTODETECT_VALUE it +; will be set according to flag_var_tracking. fvar-tracking-uninit Common Report Var(flag_var_tracking_uninit) Optimization Perform variable tracking and also tag variables that are uninitialized @@ -2247,6 +2263,10 @@ iplugindir= Common Joined Var(plugindir_string) Init(0) -iplugindir= Set to be the default plugin directory +imultiarch +Common Joined Separate RejectDriver Var(imultiarch) Init(0) +-imultiarch Set to be the multiarch include subdirectory + l Driver Joined Separate @@ -2304,6 +2324,9 @@ Driver Var(print_multi_lib) print-multi-os-directory Driver Var(print_multi_os_directory) + +print-multiarch +Driver Var(print_multiarch) print-prog-name= Driver JoinedOrMissing Var(print_prog_name) @@ -2368,7 +2391,7 @@ x Driver Joined Separate shared -Common RejectNegative Negative(pie) +Driver RejectNegative Negative(pie) Create a shared library shared-libgcc @@ -2401,7 +2424,7 @@ symbolic Driver pie -Common RejectNegative Negative(shared) +Driver RejectNegative Negative(shared) Create a position independent executable z