X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gcc%2Fcommon.opt;h=3c5fc0ea544c2b60a76ff951829ba13fc9fa7eff;hb=c22cacf346343c87823813e73734aa7d728553c6;hp=ba5bb2977d415026372bd26e742f2c4c024b01d5;hpb=e713adf6454bc88303e4708378948ac831b14b10;p=gcc.git diff --git a/gcc/common.opt b/gcc/common.opt index ba5bb2977d4..3c5fc0ea544 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -8,12 +8,12 @@ ; the terms of the GNU General Public License as published by the Free ; Software Foundation; either version 2, or (at your option) any later ; version. -; +; ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY ; WARRANTY; without even the implied warranty of MERCHANTABILITY or ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ; for more details. -; +; ; You should have received a copy of the GNU General Public License ; along with GCC; see the file COPYING. If not, write to the Free ; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA @@ -109,6 +109,10 @@ Wmissing-noreturn Common Var(warn_missing_noreturn) Warn about functions which might be candidates for __attribute__((noreturn)) +Woverflow +Common Var(warn_overflow) Init(1) +Warn about overflow in arithmetic expressions + Wpacked Common Var(warn_packed) Warn when the packed attribute has no effect on struct layout @@ -605,7 +609,7 @@ Common RejectNegative Report Var(flag_mudflap) Add mudflap bounds-checking instrumentation for single-threaded program fmudflapth -Common RejectNegative Report Var(flag_mudflap_threads) +Common RejectNegative Report VarExists Var(flag_mudflap,2) Add mudflap bounds-checking instrumentation for multi-threaded program fmudflapir @@ -782,7 +786,7 @@ Common Report Var(flag_sched_stalled_insns) Allow premature scheduling of queued insns fsched-stalled-insns= -Common RejectNegative Joined UInteger +Common RejectNegative Joined UInteger -fsched-stalled-insns= Set number of queued insns that can be prematurely scheduled ; sched_stalled_insns_dep controls how many recently scheduled cycles will @@ -805,6 +809,10 @@ frtl-abstract-sequences Common Report Var(flag_rtl_seqabstr) Perform sequence abstraction optimization on RTL +fsee +Common Report Var(flag_see) Init(0) +Eliminate redundant sign extensions using LCM. + fshow-column Common C ObjC C++ ObjC++ Report Var(flag_show_column) Init(1) Show column numbers in diagnostics, when available. Default on @@ -822,7 +830,7 @@ Common Report Var(flag_split_ivs_in_unroller) Init(1) Split lifetimes of induction variables when loops are unrolled fvariable-expansion-in-unroller -Common Report Var(flag_variable_expansion_in_unroller) +Common Report Var(flag_variable_expansion_in_unroller) Apply variable expansion when loops are unrolled ; Emit code to probe the stack, to help detect stack overflow; also @@ -1080,11 +1088,11 @@ Common JoinedOrMissing Generate debug information in default format gcoff -Common JoinedOrMissing +Common JoinedOrMissing Negative(gdwarf-2) Generate debug information in COFF format gdwarf-2 -Common JoinedOrMissing +Common JoinedOrMissing Negative(gstabs) Generate debug information in DWARF v2 format ggdb @@ -1092,23 +1100,23 @@ Common JoinedOrMissing Generate debug information in default extended format gstabs -Common JoinedOrMissing +Common JoinedOrMissing Negative(gstabs+) Generate debug information in STABS format gstabs+ -Common JoinedOrMissing +Common JoinedOrMissing Negative(gvms) Generate debug information in extended STABS format gvms -Common JoinedOrMissing +Common JoinedOrMissing Negative(gxcoff) Generate debug information in VMS format gxcoff -Common JoinedOrMissing +Common JoinedOrMissing Negative(gxcoff+) Generate debug information in XCOFF format gxcoff+ -Common JoinedOrMissing +Common JoinedOrMissing Negative(gcoff) Generate debug information in extended XCOFF format o