https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89327
Bug ID: 89327 Summary: Joined options without RejectsNegative Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- While for some Joined options starting with m, W or f the negative options make perfect sense, e.g. -fno-builtin-malloc, -fno-sanitize-recover=signed-integer-overflow etc., for the following ones I wonder if it isn't just an omission. Thoughts on this? ./config/riscv/riscv.opt:msmall-data-limit= ./config/riscv/riscv.opt:Target Joined Separate UInteger Var(g_switch_value) Init(8) ./config/darwin.opt:mmacosx-version-min= ./config/darwin.opt:Target Joined Report Var(darwin_macosx_version_min) Init(DEF_MIN_OSX_VERSION) ./go/lang.opt:fgo-optimize- ./go/lang.opt:Go Joined ./go/lang.opt:fgo-debug-escape ./go/lang.opt:Go Joined UInteger Var(go_debug_escape_level) Init(0) ./common.opt:fhelp= ./common.opt:Common Driver Joined Alias(-help=) ./common.opt:fdiagnostics-minimum-margin-width= ./common.opt:Common Joined UInteger Var(diagnostics_minimum_margin_width) Init(6) ./common.opt:foffload= ./common.opt:Common Driver Joined MissingArgError(options or targets missing after %qs) ./common.opt:fpatchable-function-entry= ./common.opt:Common Joined Optimization ./common.opt:fself-test= ./common.opt:Common Undocumented Joined Var(flag_self_test) ./c-family/c.opt:Walloc-size-larger-than= ./c-family/c.opt:C ObjC C++ LTO ObjC++ Var(warn_alloc_size_limit) Joined Host_Wide_Int ByteSize Warning Init(HOST_WIDE_INT_MAX) ./c-family/c.opt:Walloca-larger-than= ./c-family/c.opt:C ObjC C++ LTO ObjC++ Var(warn_alloca_limit) Warning Joined Host_Wide_Int ByteSize Init(HOST_WIDE_INT_MAX) ./c-family/c.opt:Wvla-larger-than= ./c-family/c.opt:C ObjC C++ LTO ObjC++ Var(warn_vla_limit) Warning Joined Host_Wide_Int ByteSize Init(HOST_WIDE_INT_MAX) ./c-family/c.opt:fconstant-string-class= ./c-family/c.opt:ObjC ObjC++ Joined MissingArgError(no class name specified with %qs) ./c-family/c.opt:fname-mangling-version- ./c-family/c.opt:C++ ObjC++ Joined Deprecated ./c-family/c.opt:fopenacc-dim= ./c-family/c.opt:C ObjC C++ ObjC++ LTO Joined Var(flag_openacc_dims) ./c-family/c.opt:femit-struct-debug-detailed= ./c-family/c.opt:C ObjC C++ ObjC++ Joined ./fortran/lang.opt:fopenacc-dim= ./fortran/lang.opt:Fortran LTO Joined Var(flag_openacc_dims) ./lto/lang.opt:fltrans-output-list= ./lto/lang.opt:LTO Joined Var(ltrans_output_list) ./lto/lang.opt:fresolution= ./lto/lang.opt:LTO Joined