; Options for the Fortran 95 front end.
|
; Options for the Fortran 95 front end.
|
; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
; Free Software Foundation, Inc.
|
; Free Software Foundation, Inc.
|
;
|
;
|
; This file is part of GCC.
|
; This file is part of GCC.
|
;
|
;
|
; GCC is free software; you can redistribute it and/or modify it under
|
; GCC 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
|
; Software Foundation; either version 3, or (at your option) any later
|
; Software Foundation; either version 3, or (at your option) any later
|
; version.
|
; version.
|
;
|
;
|
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
; for more details.
|
; for more details.
|
;
|
;
|
; You should have received a copy of the GNU General Public License
|
; You should have received a copy of the GNU General Public License
|
; along with GCC; see the file COPYING3. If not see
|
; along with GCC; see the file COPYING3. If not see
|
; .
|
; .
|
|
|
; See the GCC internals manual for a description of this file's format.
|
; See the GCC internals manual for a description of this file's format.
|
|
|
; Please try to keep this file in ASCII collating order.
|
; Please try to keep this file in ASCII collating order.
|
|
|
Language
|
Language
|
Fortran
|
Fortran
|
|
|
A
|
A
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
C
|
C
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
CC
|
CC
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
D
|
D
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
E
|
E
|
Fortran Undocumented
|
Fortran Undocumented
|
|
|
H
|
H
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
I
|
I
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
J
|
J
|
Fortran Joined Separate
|
Fortran Joined Separate
|
-J Put MODULE files in 'directory'
|
-J Put MODULE files in 'directory'
|
|
|
|
M
|
|
Fortran
|
|
; Documented in C
|
|
|
|
MD
|
|
Fortran Separate
|
|
; Documented in C
|
|
|
|
MF
|
|
Fortran Joined Separate
|
|
; Documented in C
|
|
|
|
MG
|
|
Fortran
|
|
; Documented in C
|
|
|
|
MM
|
|
Fortran
|
|
; Documented in C
|
|
|
|
MMD
|
|
Fortran Separate
|
|
; Documented in C
|
|
|
|
MP
|
|
Fortran
|
|
; Documented in C
|
|
|
|
MT
|
|
Fortran Joined Separate
|
|
; Documented in C
|
|
|
|
MQ
|
|
Fortran Joined Separate
|
|
; Documented in C
|
|
|
P
|
P
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
U
|
U
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
Wall
|
Wall
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
Waliasing
|
Waliasing
|
Fortran Warning
|
Fortran Warning
|
Warn about possible aliasing of dummy arguments
|
Warn about possible aliasing of dummy arguments
|
|
|
Walign-commons
|
Walign-commons
|
Fortran Warning
|
Fortran Warning
|
Warn about alignment of COMMON blocks
|
Warn about alignment of COMMON blocks
|
|
|
Wampersand
|
Wampersand
|
Fortran Warning
|
Fortran Warning
|
Warn about missing ampersand in continued character constants
|
Warn about missing ampersand in continued character constants
|
|
|
Warray-temporaries
|
Warray-temporaries
|
Fortran Warning
|
Fortran Warning
|
Warn about creation of array temporaries
|
Warn about creation of array temporaries
|
|
|
Wcharacter-truncation
|
Wcharacter-truncation
|
Fortran Warning
|
Fortran Warning
|
Warn about truncated character expressions
|
Warn about truncated character expressions
|
|
|
Wconversion
|
Wconversion
|
Fortran Warning
|
Fortran Warning
|
; Documented in C
|
; Documented in C
|
|
|
Wimplicit-interface
|
Wimplicit-interface
|
Fortran Warning
|
Fortran Warning
|
Warn about calls with implicit interface
|
Warn about calls with implicit interface
|
|
|
Wimplicit-procedure
|
Wimplicit-procedure
|
Fortran Warning
|
Fortran Warning
|
Warn about called procedures not explicitly declared
|
Warn about called procedures not explicitly declared
|
|
|
Wline-truncation
|
Wline-truncation
|
Fortran Warning
|
Fortran Warning
|
Warn about truncated source lines
|
Warn about truncated source lines
|
|
|
Wintrinsics-std
|
Wintrinsics-std
|
Fortran Warning
|
Fortran Warning
|
Warn on intrinsics not part of the selected standard
|
Warn on intrinsics not part of the selected standard
|
|
|
Wreturn-type
|
Wreturn-type
|
Fortran Warning
|
Fortran Warning
|
; Documented in C
|
; Documented in C
|
|
|
Wsurprising
|
Wsurprising
|
Fortran Warning
|
Fortran Warning
|
Warn about \"suspicious\" constructs
|
Warn about \"suspicious\" constructs
|
|
|
Wtabs
|
Wtabs
|
Fortran Warning
|
Fortran Warning
|
Permit nonconforming uses of the tab character
|
Permit nonconforming uses of the tab character
|
|
|
Wunderflow
|
Wunderflow
|
Fortran Warning
|
Fortran Warning
|
Warn about underflow of numerical constant expressions
|
Warn about underflow of numerical constant expressions
|
|
|
Wintrinsic-shadow
|
Wintrinsic-shadow
|
Fortran Warning
|
Fortran Warning
|
Warn if a user-procedure has the same name as an intrinsic
|
Warn if a user-procedure has the same name as an intrinsic
|
|
|
cpp
|
cpp
|
Fortran Joined Separate Negative(nocpp)
|
Fortran Joined Separate Negative(nocpp)
|
Enable preprocessing
|
Enable preprocessing
|
|
|
nocpp
|
nocpp
|
Fortran Negative(cpp)
|
Fortran Negative(cpp)
|
Disable preprocessing
|
Disable preprocessing
|
|
|
d
|
d
|
Fortran Joined
|
Fortran Joined
|
; Documented in common.opt
|
; Documented in common.opt
|
|
|
falign-commons
|
falign-commons
|
Fortran
|
Fortran
|
Enable alignment of COMMON blocks
|
Enable alignment of COMMON blocks
|
|
|
fall-intrinsics
|
fall-intrinsics
|
Fortran RejectNegative
|
Fortran RejectNegative
|
All intrinsics procedures are available regardless of selected standard
|
All intrinsics procedures are available regardless of selected standard
|
|
|
fallow-leading-underscore
|
fallow-leading-underscore
|
Fortran Undocumented
|
Fortran Undocumented
|
; For internal use only: allow the first character of symbol names to be an underscore
|
; For internal use only: allow the first character of symbol names to be an underscore
|
|
|
fautomatic
|
fautomatic
|
Fortran
|
Fortran
|
Do not treat local variables and COMMON blocks as if they were named in SAVE statements
|
Do not treat local variables and COMMON blocks as if they were named in SAVE statements
|
|
|
fbackslash
|
fbackslash
|
Fortran
|
Fortran
|
Specify that backslash in string introduces an escape character
|
Specify that backslash in string introduces an escape character
|
|
|
fbacktrace
|
fbacktrace
|
Fortran
|
Fortran
|
Produce a backtrace when a runtime error is encountered
|
Produce a backtrace when a runtime error is encountered
|
|
|
fblas-matmul-limit=
|
fblas-matmul-limit=
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-fblas-matmul-limit= Size of the smallest matrix for which matmul will use BLAS
|
-fblas-matmul-limit= Size of the smallest matrix for which matmul will use BLAS
|
|
|
fcheck-array-temporaries
|
fcheck-array-temporaries
|
Fortran
|
Fortran
|
Produce a warning at runtime if a array temporary has been created for a procedure argument
|
Produce a warning at runtime if a array temporary has been created for a procedure argument
|
|
|
fconvert=big-endian
|
fconvert=big-endian
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Use big-endian format for unformatted files
|
Use big-endian format for unformatted files
|
|
|
fconvert=little-endian
|
fconvert=little-endian
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Use little-endian format for unformatted files
|
Use little-endian format for unformatted files
|
|
|
fconvert=native
|
fconvert=native
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Use native format for unformatted files
|
Use native format for unformatted files
|
|
|
fconvert=swap
|
fconvert=swap
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Swap endianness for unformatted files
|
Swap endianness for unformatted files
|
|
|
fcray-pointer
|
fcray-pointer
|
Fortran
|
Fortran
|
Use the Cray Pointer extension
|
Use the Cray Pointer extension
|
|
|
fd-lines-as-code
|
fd-lines-as-code
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Ignore 'D' in column one in fixed form
|
Ignore 'D' in column one in fixed form
|
|
|
fd-lines-as-comments
|
fd-lines-as-comments
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Treat lines with 'D' in column one as comments
|
Treat lines with 'D' in column one as comments
|
|
|
fdefault-double-8
|
fdefault-double-8
|
Fortran
|
Fortran
|
Set the default double precision kind to an 8 byte wide type
|
Set the default double precision kind to an 8 byte wide type
|
|
|
fdefault-integer-8
|
fdefault-integer-8
|
Fortran
|
Fortran
|
Set the default integer kind to an 8 byte wide type
|
Set the default integer kind to an 8 byte wide type
|
|
|
fdefault-real-8
|
fdefault-real-8
|
Fortran
|
Fortran
|
Set the default real kind to an 8 byte wide type
|
Set the default real kind to an 8 byte wide type
|
|
|
fdollar-ok
|
fdollar-ok
|
Fortran
|
Fortran
|
Allow dollar signs in entity names
|
Allow dollar signs in entity names
|
|
|
fdump-core
|
fdump-core
|
Fortran
|
Fortran
|
Dump a core file when a runtime error occurs
|
Dump a core file when a runtime error occurs
|
|
|
fdump-parse-tree
|
fdump-parse-tree
|
Fortran
|
Fortran
|
Display the code tree after parsing
|
Display the code tree after parsing
|
|
|
fexternal-blas
|
fexternal-blas
|
Fortran
|
Fortran
|
Specify that an external BLAS library should be used for matmul calls on large-size arrays
|
Specify that an external BLAS library should be used for matmul calls on large-size arrays
|
|
|
ff2c
|
ff2c
|
Fortran
|
Fortran
|
Use f2c calling convention
|
Use f2c calling convention
|
|
|
ffixed-form
|
ffixed-form
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Assume that the source file is fixed form
|
Assume that the source file is fixed form
|
|
|
fintrinsic-modules-path
|
fintrinsic-modules-path
|
Fortran RejectNegative Joined Separate
|
Fortran RejectNegative Joined Separate
|
Specify where to find the compiled intrinsic modules
|
Specify where to find the compiled intrinsic modules
|
|
|
ffixed-line-length-none
|
ffixed-line-length-none
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Allow arbitrary character line width in fixed mode
|
Allow arbitrary character line width in fixed mode
|
|
|
ffixed-line-length-
|
ffixed-line-length-
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-ffixed-line-length- Use n as character line width in fixed mode
|
-ffixed-line-length- Use n as character line width in fixed mode
|
|
|
ffpe-trap=
|
ffpe-trap=
|
Fortran RejectNegative JoinedOrMissing
|
Fortran RejectNegative JoinedOrMissing
|
-ffpe-trap=[...] Stop on following floating point exceptions
|
-ffpe-trap=[...] Stop on following floating point exceptions
|
|
|
ffree-form
|
ffree-form
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Assume that the source file is free form
|
Assume that the source file is free form
|
|
|
ffree-line-length-none
|
ffree-line-length-none
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Allow arbitrary character line width in free mode
|
Allow arbitrary character line width in free mode
|
|
|
ffree-line-length-
|
ffree-line-length-
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-ffree-line-length- Use n as character line width in free mode
|
-ffree-line-length- Use n as character line width in free mode
|
|
|
fimplicit-none
|
fimplicit-none
|
Fortran
|
Fortran
|
Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
|
Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
|
|
|
finit-character=
|
finit-character=
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-finit-character= Initialize local character variables to ASCII value n
|
-finit-character= Initialize local character variables to ASCII value n
|
|
|
finit-integer=
|
finit-integer=
|
Fortran RejectNegative Joined
|
Fortran RejectNegative Joined
|
-finit-integer= Initialize local integer variables to n
|
-finit-integer= Initialize local integer variables to n
|
|
|
finit-local-zero
|
finit-local-zero
|
Fortran
|
Fortran
|
Initialize local variables to zero (from g77)
|
Initialize local variables to zero (from g77)
|
|
|
finit-logical=
|
finit-logical=
|
Fortran RejectNegative Joined
|
Fortran RejectNegative Joined
|
-finit-logical= Initialize local logical variables
|
-finit-logical= Initialize local logical variables
|
|
|
finit-real=
|
finit-real=
|
Fortran RejectNegative Joined
|
Fortran RejectNegative Joined
|
-finit-real= Initialize local real variables
|
-finit-real= Initialize local real variables
|
|
|
fmax-array-constructor=
|
fmax-array-constructor=
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-fmax-array-constructor= Maximum number of objects in an array constructor
|
-fmax-array-constructor= Maximum number of objects in an array constructor
|
|
|
fmax-errors=
|
fmax-errors=
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-fmax-errors= Maximum number of errors to report
|
-fmax-errors= Maximum number of errors to report
|
|
|
fmax-identifier-length=
|
fmax-identifier-length=
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-fmax-identifier-length= Maximum identifier length
|
-fmax-identifier-length= Maximum identifier length
|
|
|
fmax-subrecord-length=
|
fmax-subrecord-length=
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-fmax-subrecord-length= Maximum length for subrecords
|
-fmax-subrecord-length= Maximum length for subrecords
|
|
|
fmax-stack-var-size=
|
fmax-stack-var-size=
|
Fortran RejectNegative Joined UInteger
|
Fortran RejectNegative Joined UInteger
|
-fmax-stack-var-size= Size in bytes of the largest array that will be put on the stack
|
-fmax-stack-var-size= Size in bytes of the largest array that will be put on the stack
|
|
|
fmodule-private
|
fmodule-private
|
Fortran
|
Fortran
|
Set default accessibility of module entities to PRIVATE.
|
Set default accessibility of module entities to PRIVATE.
|
|
|
fopenmp
|
fopenmp
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
fpack-derived
|
fpack-derived
|
Fortran
|
Fortran
|
Try to lay out derived types as compactly as possible
|
Try to lay out derived types as compactly as possible
|
|
|
fpreprocessed
|
fpreprocessed
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
fprotect-parens
|
fprotect-parens
|
Fortran
|
Fortran
|
Protect parentheses in expressions
|
Protect parentheses in expressions
|
|
|
frange-check
|
frange-check
|
Fortran
|
Fortran
|
Enable range checking during compilation
|
Enable range checking during compilation
|
|
|
frecord-marker=4
|
frecord-marker=4
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Use a 4-byte record marker for unformatted files
|
Use a 4-byte record marker for unformatted files
|
|
|
frecord-marker=8
|
frecord-marker=8
|
Fortran RejectNegative
|
Fortran RejectNegative
|
Use an 8-byte record marker for unformatted files
|
Use an 8-byte record marker for unformatted files
|
|
|
frecursive
|
frecursive
|
Fortran
|
Fortran
|
Allocate local variables on the stack to allow indirect recursion
|
Allocate local variables on the stack to allow indirect recursion
|
|
|
frepack-arrays
|
frepack-arrays
|
Fortran
|
Fortran
|
Copy array sections into a contiguous block on procedure entry
|
Copy array sections into a contiguous block on procedure entry
|
|
|
fcheck=
|
fcheck=
|
Fortran RejectNegative JoinedOrMissing
|
Fortran RejectNegative JoinedOrMissing
|
-fcheck=[...] Specify which runtime checks are to be performed
|
-fcheck=[...] Specify which runtime checks are to be performed
|
|
|
fsecond-underscore
|
fsecond-underscore
|
Fortran
|
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
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
fsign-zero
|
fsign-zero
|
Fortran
|
Fortran
|
Apply negative sign to zero values
|
Apply negative sign to zero values
|
|
|
funderscoring
|
funderscoring
|
Fortran
|
Fortran
|
Append underscores to externally visible names
|
Append underscores to externally visible names
|
|
|
fwhole-file
|
fwhole-file
|
Fortran
|
Fortran
|
Compile all program units at once and check all interfaces
|
Compile all program units at once and check all interfaces
|
|
|
fworking-directory
|
fworking-directory
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
idirafter
|
idirafter
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
imultilib
|
imultilib
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
iprefix
|
iprefix
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
iquote
|
iquote
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
isysroot
|
isysroot
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
isystem
|
isystem
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in C
|
; Documented in C
|
|
|
nostdinc
|
nostdinc
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
o
|
o
|
Fortran Joined Separate
|
Fortran Joined Separate
|
; Documented in common.opt
|
; Documented in common.opt
|
|
|
static-libgfortran
|
static-libgfortran
|
Fortran
|
Fortran
|
Statically link the GNU Fortran helper library (libgfortran)
|
Statically link the GNU Fortran helper library (libgfortran)
|
|
|
std=f2003
|
std=f2003
|
Fortran
|
Fortran
|
Conform to the ISO Fortran 2003 standard
|
Conform to the ISO Fortran 2003 standard
|
|
|
std=f2008
|
std=f2008
|
Fortran
|
Fortran
|
Conform to the ISO Fortran 2008 standard
|
Conform to the ISO Fortran 2008 standard
|
|
|
std=f95
|
std=f95
|
Fortran
|
Fortran
|
Conform to the ISO Fortran 95 standard
|
Conform to the ISO Fortran 95 standard
|
|
|
std=gnu
|
std=gnu
|
Fortran
|
Fortran
|
Conform to nothing in particular
|
Conform to nothing in particular
|
|
|
std=legacy
|
std=legacy
|
Fortran
|
Fortran
|
Accept extensions to support legacy code
|
Accept extensions to support legacy code
|
|
|
undef
|
undef
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
v
|
v
|
Fortran
|
Fortran
|
; Documented in C
|
; Documented in C
|
|
|
; This comment is to ensure we retain the blank line above.
|
; This comment is to ensure we retain the blank line above.
|
|
|