X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fcommon.opt;h=1cc0ac267a055a0995d18d5e13ca6967195036c9;hb=77524490203648e1d072661d624592cdae0a0e56;hp=9b1972b8c4a62b6651843e971dc7e31176058d60;hpb=278e3a1f0b535449bd0f3081e8c8e072b2b4b242;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/common.opt b/gcc/common.opt index 9b1972b8c4a..1cc0ac267a0 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 +; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 ; Free Software Foundation, Inc. ; ; This file is part of GCC. @@ -94,10 +94,6 @@ Wdisabled-optimization Common Var(warn_disabled_optimization) Warning Warn when an optimization pass is disabled -Wdisallowed-function-list= -Common RejectNegative Joined Warning -Warn on calls to these functions - Werror Common Var(warnings_are_errors) Treat all warnings as errors @@ -385,6 +381,10 @@ fcommon Common Report Var(flag_no_common,0) Optimization Do not put uninitialized globals in the common section +fconserve-stack +Common Var(flag_conserve_stack) Optimization +Do not perform optimizations increasing noticeably stack usage + fcprop-registers Common Report Var(flag_cprop_registers) Optimization Perform a register copy-propagation optimization pass @@ -491,6 +491,10 @@ fexpensive-optimizations Common Report Var(flag_expensive_optimizations) Optimization Perform a number of minor, expensive optimizations +fexcess-precision= +Common Joined RejectNegative +-fexcess-precision=[fast|standard] Specify handling of excess floating-point precision + ffast-math Common @@ -547,6 +551,28 @@ Common Report Var(flag_gcse_after_reload) Optimization Perform global common subexpression elimination after register allocation has finished +; This option is not documented yet as its semantics will change. +fgraphite +Common Report Var(flag_graphite) +Enable in and out of Graphite representation + +floop-strip-mine +Common Report Var(flag_loop_strip_mine) Optimization +Enable Loop Strip Mining transformation + +floop-interchange +Common Report Var(flag_loop_interchange) Optimization +Enable Loop Interchange transformation + +floop-block +Common Report Var(flag_loop_block) Optimization +Enable Loop Blocking transformation + +; This option is not documented as it does not perform any useful optimization. +fgraphite-identity +Common Report Var(flag_graphite_identity) Optimization +Enable Graphite Identity transformation + fguess-branch-probability Common Report Var(flag_guess_branch_prob) Optimization Enable guessing of branch probabilities @@ -623,6 +649,10 @@ fipa-cp Common Report Var(flag_ipa_cp) Optimization Perform Interprocedural constant propagation +fipa-cp-clone +Common Report Var(flag_ipa_cp_clone) Optimization +Perform cloning to make Interprocedural constant propagation stronger + fipa-pure-const Common Report Var(flag_ipa_pure_const) Init(0) Optimization Discover pure and const functions @@ -649,6 +679,30 @@ Common Report Var(flag_ipa_struct_reorg) Perform structure layout optimizations based on profiling information. +fira-algorithm= +Common Joined RejectNegative +-fira-algorithm=[CB|priority] Set the used IRA algorithm + +fira-region= +Common Joined RejectNegative +-fira-region=[one|all|mixed] Set regions for IRA + +fira-coalesce +Common Report Var(flag_ira_coalesce) Init(0) +Do optimistic coalescing. + +fira-share-save-slots +Common Report Var(flag_ira_share_save_slots) Init(1) +Share slots for saving different hard registers. + +fira-share-spill-slots +Common Report Var(flag_ira_share_spill_slots) Init(1) +Share stack slots for spilled pseudo-registers. + +fira-verbose= +Common RejectNegative Joined UInteger +-fira-verbose= Control IRA's level of diagnostic messages. + fivopts Common Report Var(flag_ivopts) Init(1) Optimization Optimize induction variables on trees @@ -821,6 +875,10 @@ Common Joined RejectNegative Set the top-level directory for storing the profile data. The default is 'pwd'. +fprofile-correction +Common Report Var(flag_profile_correction) +Enable correction of flow inconsistent profile data input + fprofile-generate Common Enable common options for generating profile info for profile feedback directed optimizations @@ -930,6 +988,29 @@ fschedule-insns2 Common Report Var(flag_schedule_insns_after_reload) Optimization Reschedule instructions after register allocation +; This flag should be on when a target implements non-trivial +; scheduling hooks, maybe saving some information for its own sake. +; On IA64, for example, this is used for correct bundling. +fselective-scheduling +Common Report Var(flag_selective_scheduling) Optimization +Schedule instructions using selective scheduling algorithm + +fselective-scheduling2 +Common Report Var(flag_selective_scheduling2) Optimization +Run selective scheduling after reload + +fsel-sched-pipelining +Common Report Var(flag_sel_sched_pipelining) Init(0) Optimization +Perform software pipelining of inner loops during selective scheduling + +fsel-sched-pipelining-outer-loops +Common Report Var(flag_sel_sched_pipelining_outer_loops) Init(0) Optimization +Perform software pipelining of outer loops during selective scheduling + +fsel-sched-reschedule-pipelined +Common Report Var(flag_sel_sched_reschedule_pipelined) Init(0) Optimization +Reschedule pipelined regions without pipelining + ; sched_stalled_insns means that insns can be moved prematurely from the queue ; of stalled insns into the ready list. fsched-stalled-insns @@ -956,10 +1037,6 @@ fsection-anchors Common Report Var(flag_section_anchors) Optimization Access data in the same section from shared anchor points -frtl-abstract-sequences -Common Report Var(flag_rtl_seqabstr) Optimization -Perform sequence abstraction optimization on RTL - fsee Common Report Var(flag_see) Init(0) Eliminate redundant sign extensions using LCM. @@ -992,11 +1069,13 @@ fvariable-expansion-in-unroller Common Report Var(flag_variable_expansion_in_unroller) Optimization Apply variable expansion when loops are unrolled -; Emit code to probe the stack, to help detect stack overflow; also -; may cause large objects to be allocated dynamically. +fstack-check= +Common Report RejectNegative Joined +-fstack-check=[no|generic|specific] Insert stack checking code into the program + fstack-check -Common Report Var(flag_stack_check) -Insert stack checking code into the program +Common Report +Insert stack checking code into the program. Same as -fstack-check=specific fstack-limit Common @@ -1077,8 +1156,8 @@ Common Report Var(flag_tree_ccp) Optimization Enable SSA-CCP optimization on trees ftree-store-ccp -Common Report Var(flag_tree_store_ccp) Optimization -Enable SSA-CCP optimization for stores and loads +Common +Does nothing. Preserved for backward compatibility. ftree-ch Common Report Var(flag_tree_ch) Optimization