Commit f0036cca by Joseph Myers Committed by Joseph Myers

options.texi (Variable, Var, Init): Update documentation without reference to VarExists.

	* doc/options.texi (Variable, Var, Init): Update documentation
	without reference to VarExists.
	(VarExists): Remove.
	* common.opt, config/i386/i386.opt, config/linux.opt,
	config/rs6000/rs6000.opt, config/sh/sh.opt, config/spu/spu.opt:
	Don't use VarExists.

c-family:
	* c.opt: Don't use VarExists.

fortran:
	* lang.opt: Don't use VarExists.

java:
	* lang.opt: Don't use VarExists.

From-SVN: r164724
parent e3339d0f
2010-09-29 Joseph Myers <joseph@codesourcery.com> 2010-09-29 Joseph Myers <joseph@codesourcery.com>
* doc/options.texi (Variable, Var, Init): Update documentation
without reference to VarExists.
(VarExists): Remove.
* common.opt, config/i386/i386.opt, config/linux.opt,
config/rs6000/rs6000.opt, config/sh/sh.opt, config/spu/spu.opt:
Don't use VarExists.
2010-09-29 Joseph Myers <joseph@codesourcery.com>
* optc-gen.awk: Generate global_options initializer instead of * optc-gen.awk: Generate global_options initializer instead of
individual variables. Add x_ prefix to names of structure individual variables. Add x_ prefix to names of structure
members. members.
2010-09-29 Joseph Myers <joseph@codesourcery.com> 2010-09-29 Joseph Myers <joseph@codesourcery.com>
* c.opt: Don't use VarExists.
2010-09-29 Joseph Myers <joseph@codesourcery.com>
* c-common.c (c_cpp_error): Update names of diagnostic_context * c-common.c (c_cpp_error): Update names of diagnostic_context
members. members.
* c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of * c-cppbuiltin.c (c_cpp_builtins_optimize_pragma): Update names of
......
...@@ -966,11 +966,11 @@ C++ ObjC++ Optimization Var(flag_threadsafe_statics) Init(1) ...@@ -966,11 +966,11 @@ C++ ObjC++ Optimization Var(flag_threadsafe_statics) Init(1)
-fno-threadsafe-statics Do not generate thread-safe code for initializing local statics -fno-threadsafe-statics Do not generate thread-safe code for initializing local statics
funsigned-bitfields funsigned-bitfields
C ObjC C++ ObjC++ Var(flag_signed_bitfields, 0) VarExists C ObjC C++ ObjC++ Var(flag_signed_bitfields, 0)
When \"signed\" or \"unsigned\" is not given make the bitfield unsigned When \"signed\" or \"unsigned\" is not given make the bitfield unsigned
funsigned-char funsigned-char
C ObjC C++ ObjC++ LTO Var(flag_signed_char, 0) VarExists C ObjC C++ ObjC++ LTO Var(flag_signed_char, 0)
Make \"char\" unsigned by default Make \"char\" unsigned by default
fuse-cxa-atexit fuse-cxa-atexit
......
...@@ -1064,7 +1064,7 @@ Common Report Var(flag_merge_constants,2) Init(1) Optimization ...@@ -1064,7 +1064,7 @@ Common Report Var(flag_merge_constants,2) Init(1) Optimization
Attempt to merge identical constants and constant variables Attempt to merge identical constants and constant variables
fmerge-constants fmerge-constants
Common Report Var(flag_merge_constants,1) VarExists Optimization Common Report Var(flag_merge_constants,1) Optimization
Attempt to merge identical constants across compilation units Attempt to merge identical constants across compilation units
fmerge-debug-strings fmerge-debug-strings
...@@ -1092,7 +1092,7 @@ Common RejectNegative Report Var(flag_mudflap) ...@@ -1092,7 +1092,7 @@ Common RejectNegative Report Var(flag_mudflap)
Add mudflap bounds-checking instrumentation for single-threaded program Add mudflap bounds-checking instrumentation for single-threaded program
fmudflapth fmudflapth
Common RejectNegative Report VarExists Var(flag_mudflap,2) Common RejectNegative Report Var(flag_mudflap,2)
Add mudflap bounds-checking instrumentation for multi-threaded program Add mudflap bounds-checking instrumentation for multi-threaded program
fmudflapir fmudflapir
...@@ -1172,11 +1172,11 @@ Common Report Var(flag_pie,2) ...@@ -1172,11 +1172,11 @@ Common Report Var(flag_pie,2)
Generate position-independent code for executables if possible (large mode) Generate position-independent code for executables if possible (large mode)
fpic fpic
Common Report Var(flag_pic,1) VarExists Common Report Var(flag_pic,1)
Generate position-independent code if possible (small mode) Generate position-independent code if possible (small mode)
fpie fpie
Common Report Var(flag_pie,1) VarExists Common Report Var(flag_pie,1)
Generate position-independent code for executables if possible (small mode) Generate position-independent code for executables if possible (small mode)
fplugin= fplugin=
...@@ -1250,7 +1250,7 @@ Common Report Var(flag_record_gcc_switches) ...@@ -1250,7 +1250,7 @@ Common Report Var(flag_record_gcc_switches)
Record gcc command line switches in the object file. Record gcc command line switches in the object file.
freg-struct-return freg-struct-return
Common Report Var(flag_pcc_struct_return,0) VarExists Optimization Common Report Var(flag_pcc_struct_return,0) Optimization
Return small aggregates in registers Return small aggregates in registers
fregmove fregmove
...@@ -1462,7 +1462,7 @@ Common Report Var(flag_stack_protect, 1) ...@@ -1462,7 +1462,7 @@ Common Report Var(flag_stack_protect, 1)
Use propolice as a stack protection method Use propolice as a stack protection method
fstack-protector-all fstack-protector-all
Common Report RejectNegative Var(flag_stack_protect, 2) VarExists Common Report RejectNegative Var(flag_stack_protect, 2)
Use a stack protection method for every function Use a stack protection method for every function
fstack-usage fstack-usage
...@@ -1822,7 +1822,7 @@ Common RejectNegative Var(dwarf_strict,0) Init(-1) ...@@ -1822,7 +1822,7 @@ Common RejectNegative Var(dwarf_strict,0) Init(-1)
Emit DWARF additions beyond selected version Emit DWARF additions beyond selected version
gstrict-dwarf gstrict-dwarf
Common Report RejectNegative Var(dwarf_strict,1) VarExists Common Report RejectNegative Var(dwarf_strict,1)
Don't emit DWARF additions beyond selected version Don't emit DWARF additions beyond selected version
gtoggle gtoggle
......
...@@ -270,111 +270,111 @@ is selected. ...@@ -270,111 +270,111 @@ is selected.
;; ISA support ;; ISA support
m32 m32
Target RejectNegative Negative(m64) Report InverseMask(ISA_64BIT) Var(ix86_isa_flags) VarExists Save Target RejectNegative Negative(m64) Report InverseMask(ISA_64BIT) Var(ix86_isa_flags) Save
Generate 32bit i386 code Generate 32bit i386 code
m64 m64
Target RejectNegative Negative(m32) Report Mask(ISA_64BIT) Var(ix86_isa_flags) VarExists Save Target RejectNegative Negative(m32) Report Mask(ISA_64BIT) Var(ix86_isa_flags) Save
Generate 64bit x86-64 code Generate 64bit x86-64 code
mmmx mmmx
Target Report Mask(ISA_MMX) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_MMX) Var(ix86_isa_flags) Save
Support MMX built-in functions Support MMX built-in functions
m3dnow m3dnow
Target Report Mask(ISA_3DNOW) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_3DNOW) Var(ix86_isa_flags) Save
Support 3DNow! built-in functions Support 3DNow! built-in functions
m3dnowa m3dnowa
Target Undocumented Mask(ISA_3DNOW_A) Var(ix86_isa_flags) VarExists Save Target Undocumented Mask(ISA_3DNOW_A) Var(ix86_isa_flags) Save
Support Athlon 3Dnow! built-in functions Support Athlon 3Dnow! built-in functions
msse msse
Target Report Mask(ISA_SSE) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SSE) Var(ix86_isa_flags) Save
Support MMX and SSE built-in functions and code generation Support MMX and SSE built-in functions and code generation
msse2 msse2
Target Report Mask(ISA_SSE2) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SSE2) Var(ix86_isa_flags) Save
Support MMX, SSE and SSE2 built-in functions and code generation Support MMX, SSE and SSE2 built-in functions and code generation
msse3 msse3
Target Report Mask(ISA_SSE3) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SSE3) Var(ix86_isa_flags) Save
Support MMX, SSE, SSE2 and SSE3 built-in functions and code generation Support MMX, SSE, SSE2 and SSE3 built-in functions and code generation
mssse3 mssse3
Target Report Mask(ISA_SSSE3) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SSSE3) Var(ix86_isa_flags) Save
Support MMX, SSE, SSE2, SSE3 and SSSE3 built-in functions and code generation Support MMX, SSE, SSE2, SSE3 and SSSE3 built-in functions and code generation
msse4.1 msse4.1
Target Report Mask(ISA_SSE4_1) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SSE4_1) Var(ix86_isa_flags) Save
Support MMX, SSE, SSE2, SSE3, SSSE3 and SSE4.1 built-in functions and code generation Support MMX, SSE, SSE2, SSE3, SSSE3 and SSE4.1 built-in functions and code generation
msse4.2 msse4.2
Target Report Mask(ISA_SSE4_2) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SSE4_2) Var(ix86_isa_flags) Save
Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation
msse4 msse4
Target RejectNegative Report Mask(ISA_SSE4_2) MaskExists Var(ix86_isa_flags) VarExists Save Target RejectNegative Report Mask(ISA_SSE4_2) MaskExists Var(ix86_isa_flags) Save
Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 built-in functions and code generation
mno-sse4 mno-sse4
Target RejectNegative Report InverseMask(ISA_SSE4_1) MaskExists Var(ix86_isa_flags) VarExists Save Target RejectNegative Report InverseMask(ISA_SSE4_1) MaskExists Var(ix86_isa_flags) Save
Do not support SSE4.1 and SSE4.2 built-in functions and code generation Do not support SSE4.1 and SSE4.2 built-in functions and code generation
mavx mavx
Target Report Mask(ISA_AVX) Var(ix86_isa_flags) VarExists Target Report Mask(ISA_AVX) Var(ix86_isa_flags)
Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2 and AVX built-in functions and code generation Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2 and AVX built-in functions and code generation
mfma mfma
Target Report Mask(ISA_FMA) Var(ix86_isa_flags) VarExists Target Report Mask(ISA_FMA) Var(ix86_isa_flags)
Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX and FMA built-in functions and code generation Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX and FMA built-in functions and code generation
msse4a msse4a
Target Report Mask(ISA_SSE4A) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SSE4A) Var(ix86_isa_flags) Save
Support MMX, SSE, SSE2, SSE3 and SSE4A built-in functions and code generation Support MMX, SSE, SSE2, SSE3 and SSE4A built-in functions and code generation
mfma4 mfma4
Target Report Mask(ISA_FMA4) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_FMA4) Var(ix86_isa_flags) Save
Support FMA4 built-in functions and code generation Support FMA4 built-in functions and code generation
mxop mxop
Target Report Mask(ISA_XOP) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_XOP) Var(ix86_isa_flags) Save
Support XOP built-in functions and code generation Support XOP built-in functions and code generation
mlwp mlwp
Target Report Mask(ISA_LWP) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_LWP) Var(ix86_isa_flags) Save
Support LWP built-in functions and code generation Support LWP built-in functions and code generation
mabm mabm
Target Report Mask(ISA_ABM) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_ABM) Var(ix86_isa_flags) Save
Support code generation of Advanced Bit Manipulation (ABM) instructions. Support code generation of Advanced Bit Manipulation (ABM) instructions.
mpopcnt mpopcnt
Target Report Mask(ISA_POPCNT) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_POPCNT) Var(ix86_isa_flags) Save
Support code generation of popcnt instruction. Support code generation of popcnt instruction.
mcx16 mcx16
Target Report Mask(ISA_CX16) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_CX16) Var(ix86_isa_flags) Save
Support code generation of cmpxchg16b instruction. Support code generation of cmpxchg16b instruction.
msahf msahf
Target Report Mask(ISA_SAHF) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_SAHF) Var(ix86_isa_flags) Save
Support code generation of sahf instruction in 64bit x86-64 code. Support code generation of sahf instruction in 64bit x86-64 code.
mmovbe mmovbe
Target Report Mask(ISA_MOVBE) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_MOVBE) Var(ix86_isa_flags) Save
Support code generation of movbe instruction. Support code generation of movbe instruction.
mcrc32 mcrc32
Target Report Mask(ISA_CRC32) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_CRC32) Var(ix86_isa_flags) Save
Support code generation of crc32 instruction. Support code generation of crc32 instruction.
maes maes
Target Report Mask(ISA_AES) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_AES) Var(ix86_isa_flags) Save
Support AES built-in functions and code generation Support AES built-in functions and code generation
mpclmul mpclmul
Target Report Mask(ISA_PCLMUL) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_PCLMUL) Var(ix86_isa_flags) Save
Support PCLMUL built-in functions and code generation Support PCLMUL built-in functions and code generation
msse2avx msse2avx
...@@ -382,15 +382,15 @@ Target Report Var(ix86_sse2avx) ...@@ -382,15 +382,15 @@ Target Report Var(ix86_sse2avx)
Encode SSE instructions with VEX prefix Encode SSE instructions with VEX prefix
mfsgsbase mfsgsbase
Target Report Mask(ISA_FSGSBASE) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_FSGSBASE) Var(ix86_isa_flags) Save
Support FSGSBASE built-in functions and code generation Support FSGSBASE built-in functions and code generation
mrdrnd mrdrnd
Target Report Mask(ISA_RDRND) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_RDRND) Var(ix86_isa_flags) Save
Support RDRND built-in functions and code generation Support RDRND built-in functions and code generation
mf16c mf16c
Target Report Mask(ISA_F16C) Var(ix86_isa_flags) VarExists Save Target Report Mask(ISA_F16C) Var(ix86_isa_flags) Save
Support F16C built-in functions and code generation Support F16C built-in functions and code generation
mfentry mfentry
......
...@@ -24,9 +24,9 @@ Target Report RejectNegative Var(linux_libc,LIBC_BIONIC) Init(DEFAULT_LIBC) Nega ...@@ -24,9 +24,9 @@ Target Report RejectNegative Var(linux_libc,LIBC_BIONIC) Init(DEFAULT_LIBC) Nega
Use Bionic C library Use Bionic C library
mglibc mglibc
Target Report RejectNegative Var(linux_libc,LIBC_GLIBC) VarExists Negative(muclibc) Target Report RejectNegative Var(linux_libc,LIBC_GLIBC) Negative(muclibc)
Use GNU C library Use GNU C library
muclibc muclibc
Target Report RejectNegative Var(linux_libc,LIBC_UCLIBC) VarExists Negative(mbionic) Target Report RejectNegative Var(linux_libc,LIBC_UCLIBC) Negative(mbionic)
Use uClibc C library Use uClibc C library
...@@ -188,7 +188,7 @@ msched-epilog ...@@ -188,7 +188,7 @@ msched-epilog
Target Undocumented Var(TARGET_SCHED_PROLOG) Init(1) Target Undocumented Var(TARGET_SCHED_PROLOG) Init(1)
msched-prolog msched-prolog
Target Report Var(TARGET_SCHED_PROLOG) VarExists Target Report Var(TARGET_SCHED_PROLOG)
Schedule the start and end of the procedure Schedule the start and end of the procedure
maix-struct-return maix-struct-return
...@@ -196,7 +196,7 @@ Target Report RejectNegative Var(aix_struct_return) ...@@ -196,7 +196,7 @@ Target Report RejectNegative Var(aix_struct_return)
Return all structures in memory (AIX default) Return all structures in memory (AIX default)
msvr4-struct-return msvr4-struct-return
Target Report RejectNegative Var(aix_struct_return,0) VarExists Target Report RejectNegative Var(aix_struct_return,0)
Return small structures in registers (SVR4 default) Return small structures in registers (SVR4 default)
mxl-compat mxl-compat
...@@ -228,7 +228,7 @@ Target RejectNegative Var(TARGET_NO_SUM_IN_TOC) ...@@ -228,7 +228,7 @@ Target RejectNegative Var(TARGET_NO_SUM_IN_TOC)
Do not place symbol+offset constants in TOC Do not place symbol+offset constants in TOC
msum-in-toc msum-in-toc
Target RejectNegative Var(TARGET_NO_SUM_IN_TOC,0) VarExists Target RejectNegative Var(TARGET_NO_SUM_IN_TOC,0)
Place symbol+offset constants in TOC Place symbol+offset constants in TOC
; Output only one TOC entry per module. Normally linking fails if ; Output only one TOC entry per module. Normally linking fails if
......
; Options for the SH port of the compiler. ; Options for the SH port of the compiler.
; Copyright (C) 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. ; Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
; Free Software Foundation, Inc.
; ;
; This file is part of GCC. ; This file is part of GCC.
; ;
...@@ -106,11 +107,11 @@ Target RejectNegative Condition(SUPPORT_SH4_NOFPU) ...@@ -106,11 +107,11 @@ Target RejectNegative Condition(SUPPORT_SH4_NOFPU)
Generate SH4-200 FPU-less code Generate SH4-200 FPU-less code
m4-300-nofpu m4-300-nofpu
Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300) VarExists Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300)
Generate SH4-300 FPU-less code Generate SH4-300 FPU-less code
m4-340 m4-340
Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300) VarExists Target RejectNegative Condition(SUPPORT_SH4_NOFPU) Var(TARGET_SH4_300)
Generate code for SH4 340 series (MMU/FPU-less) Generate code for SH4 340 series (MMU/FPU-less)
;; passes -isa=sh4-nommu-nofpu to the assembler. ;; passes -isa=sh4-nommu-nofpu to the assembler.
...@@ -137,7 +138,7 @@ Target RejectNegative Condition(SUPPORT_SH4_SINGLE) ...@@ -137,7 +138,7 @@ Target RejectNegative Condition(SUPPORT_SH4_SINGLE)
Generate default single-precision SH4-200 code Generate default single-precision SH4-200 code
m4-300-single m4-300-single
Target RejectNegative Condition(SUPPORT_SH4_SINGLE) Var(TARGET_SH4_300) VarExists Target RejectNegative Condition(SUPPORT_SH4_SINGLE) Var(TARGET_SH4_300)
Generate default single-precision SH4-300 code Generate default single-precision SH4-300 code
m4-single-only m4-single-only
...@@ -153,7 +154,7 @@ Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY) ...@@ -153,7 +154,7 @@ Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY)
Generate only single-precision SH4-200 code Generate only single-precision SH4-200 code
m4-300-single-only m4-300-single-only
Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY) Var(TARGET_SH4_300) VarExists Target RejectNegative Condition(SUPPORT_SH4_SINGLE_ONLY) Var(TARGET_SH4_300)
Generate only single-precision SH4-300 code Generate only single-precision SH4-300 code
m4a m4a
......
; Options for the SPU port of the compiler ; Options for the SPU port of the compiler
; Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. ; Copyright (C) 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
; This file is free software; you can redistribute it and/or modify it under ; This file is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free ; the terms of the GNU General Public License as published by the Free
...@@ -88,7 +88,7 @@ Target Report RejectNegative Var(spu_ea_model,32) Init(32) ...@@ -88,7 +88,7 @@ Target Report RejectNegative Var(spu_ea_model,32) Init(32)
Access variables in 32-bit PPU objects (default) Access variables in 32-bit PPU objects (default)
mea64 mea64
Target Report RejectNegative Var(spu_ea_model,64) VarExists Target Report RejectNegative Var(spu_ea_model,64)
Access variables in 64-bit PPU objects Access variables in 64-bit PPU objects
maddress-space-conversion maddress-space-conversion
......
...@@ -46,10 +46,10 @@ information. These records have two fields: the string ...@@ -46,10 +46,10 @@ information. These records have two fields: the string
@samp{Variable}, and a declaration of the type and name of the @samp{Variable}, and a declaration of the type and name of the
variable, optionally with an initializer (but without any trailing variable, optionally with an initializer (but without any trailing
@samp{;}). These records may be used for variables used for many @samp{;}). These records may be used for variables used for many
options where declaring the variable and its initializer by omitting options where declaring the initializer in a single option definition
@code{VarExists} from a single option definition record would be record, or duplicating it in many records, would be inappropriate, or
inappropriate, or for variables set in option handlers rather than for variables set in option handlers rather than referenced by
referenced by @code{Var} properties. @code{Var} properties.
@item @item
An option definition record. These records have the following fields: An option definition record. These records have the following fields:
...@@ -177,7 +177,8 @@ compatibility with existing options that are used both directly and ...@@ -177,7 +177,8 @@ compatibility with existing options that are used both directly and
via @option{-Wp,}; new options should not have this property. via @option{-Wp,}; new options should not have this property.
@item Var(@var{var}) @item Var(@var{var})
The state of this option should be stored in variable @var{var}. The state of this option should be stored in variable @var{var}
(actually a macro for @code{global_options.x_@var{var}}).
The way that the state is stored depends on the type of option: The way that the state is stored depends on the type of option:
@itemize @bullet @itemize @bullet
...@@ -201,9 +202,8 @@ the argument string. The pointer will be null if the argument is optional ...@@ -201,9 +202,8 @@ the argument string. The pointer will be null if the argument is optional
and wasn't given. and wasn't given.
@end itemize @end itemize
The option-processing script will usually declare @var{var} in The option-processing script will usually zero-initialize @var{var}.
@file{options.c} and leave it to be zero-initialized at start-up time. You can modify this behavior using @code{Init}.
You can modify this behavior using @code{VarExists} and @code{Init}.
@item Var(@var{var}, @var{set}) @item Var(@var{var}, @var{set})
The option controls an integer variable @var{var} and is active when The option controls an integer variable @var{var} and is active when
...@@ -214,17 +214,10 @@ when the ``no-'' form is used. ...@@ -214,17 +214,10 @@ when the ``no-'' form is used.
@var{var} is declared in the same way as for the single-argument form @var{var} is declared in the same way as for the single-argument form
described above. described above.
@item VarExists
The variable specified by the @code{Var} property already exists.
No definition should be added to @file{options.c} in response to
this option record.
You should use this property only if the variable is declared outside
@file{options.c}.
@item Init(@var{value}) @item Init(@var{value})
The variable specified by the @code{Var} property should be statically The variable specified by the @code{Var} property should be statically
initialized to @var{value}. initialized to @var{value}. If more than one option using the same
variable specifies @code{Init}, all must specify the same initializer.
@item Mask(@var{name}) @item Mask(@var{name})
The option is associated with a bit in the @code{target_flags} The option is associated with a bit in the @code{target_flags}
......
2010-09-29 Joseph Myers <joseph@codesourcery.com> 2010-09-29 Joseph Myers <joseph@codesourcery.com>
* lang.opt: Don't use VarExists.
2010-09-29 Joseph Myers <joseph@codesourcery.com>
* cpp.c (cpp_define_builtins): Update names of gfc_option_t * cpp.c (cpp_define_builtins): Update names of gfc_option_t
members. members.
(gfc_cpp_post_options): Update names of cpp_options members. (gfc_cpp_post_options): Update names of cpp_options members.
......
...@@ -499,7 +499,7 @@ Fortran ...@@ -499,7 +499,7 @@ Fortran
Append a second underscore if the name already contains an underscore Append a second underscore if the name already contains an underscore
fshort-enums fshort-enums
Fortran Var(flag_short_enums) VarExists Fortran Var(flag_short_enums)
; Documented in C ; Documented in C
fsign-zero fsign-zero
......
2010-09-29 Joseph Myers <joseph@codesourcery.com> 2010-09-29 Joseph Myers <joseph@codesourcery.com>
* lang.opt: Don't use VarExists.
2010-09-29 Joseph Myers <joseph@codesourcery.com>
* java-tree.h (flag_filelist_file, flag_assert, flag_jni, * java-tree.h (flag_filelist_file, flag_assert, flag_jni,
flag_force_classes_archive_check, flag_redundant, flag_newer, flag_force_classes_archive_check, flag_redundant, flag_newer,
flag_use_divide_subroutine, flag_use_atomic_builtins, flag_use_divide_subroutine, flag_use_atomic_builtins,
......
...@@ -114,7 +114,7 @@ Java ...@@ -114,7 +114,7 @@ Java
; Documented for C ; Documented for C
Wdeprecated Wdeprecated
Java Var(warn_deprecated) VarExists Java Var(warn_deprecated)
; Documented for C ; Documented for C
Wextraneous-semicolon Wextraneous-semicolon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment