123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754 |
- ; Options for the Fortran 95 front end.
- ; Copyright (C) 2003-2015 Free Software Foundation, Inc.
- ;
- ; This file is part of GCC.
- ;
- ; 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
- ; Software Foundation; either version 3, 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 COPYING3. If not see
- ; <http://www.gnu.org/licenses/>.
- ; See the GCC internals manual for a description of this file's format.
- ; Please try to keep this file in ASCII collating order.
- Language
- Fortran
- -all-warnings
- Fortran Alias(Wall)
- -assert
- Fortran Separate Alias(A)
- -assert=
- Fortran Joined Alias(A)
- -comments
- Fortran Alias(C)
- -comments-in-macros
- Fortran Alias(CC)
- -define-macro
- Fortran Separate Alias(D)
- -define-macro=
- Fortran Joined Alias(D)
- -dependencies
- Fortran Alias(M)
- -dump
- Fortran Separate Alias(d)
- -dump=
- Fortran Joined Alias(d)
- -include-barrier
- Fortran Alias(I, -)
- -include-directory
- Fortran Separate Alias(I)
- -include-directory=
- Fortran Joined Alias(I)
- -include-directory-after
- Fortran Separate Alias(idirafter)
- -include-directory-after=
- Fortran Joined Alias(idirafter)
- -include-prefix
- Fortran Separate Alias(iprefix)
- -include-prefix=
- Fortran JoinedOrMissing Alias(iprefix)
- -no-line-commands
- Fortran Alias(P)
- -no-standard-includes
- Fortran Alias(nostdinc)
- -output
- Fortran Separate Alias(o)
- -output=
- Fortran Joined Alias(o)
- -preprocess
- Fortran Undocumented Alias(E)
- -print-missing-file-dependencies
- Fortran Alias(MG)
- -trace-includes
- Fortran Alias(H)
- -undefine-macro
- Fortran Separate Alias(U)
- -undefine-macro=
- Fortran Joined Alias(U)
- -user-dependencies
- Fortran Alias(MM)
- -verbose
- Fortran Alias(v)
- -write-dependencies
- Fortran NoDriverArg Separate Alias(MD)
- -write-user-dependencies
- Fortran NoDriverArg Separate Alias(MMD)
- A
- Fortran Joined Separate
- ; Documented in C
- C
- Fortran
- ; Documented in C
- CC
- Fortran
- ; Documented in C
- D
- Fortran Joined Separate
- ; Documented in C
- E
- Fortran Undocumented
- H
- Fortran
- ; Documented in C
- I
- Fortran Joined Separate
- ; Documented in C
- J
- Fortran Joined Separate
- -J<directory> Put MODULE files in 'directory'
- M
- Fortran
- ; Documented in C
- MD
- Fortran Separate NoDriverArg
- ; Documented in C
- MF
- Fortran Joined Separate
- ; Documented in C
- MG
- Fortran
- ; Documented in C
- MM
- Fortran
- ; Documented in C
- MMD
- Fortran Separate NoDriverArg
- ; Documented in C
- MP
- Fortran
- ; Documented in C
- MT
- Fortran Joined Separate
- ; Documented in C
- MQ
- Fortran Joined Separate
- ; Documented in C
- P
- Fortran
- ; Documented in C
- U
- Fortran Joined Separate
- ; Documented in C
- Wall
- Fortran
- ; Documented in C
- Waliasing
- Fortran Warning Var(warn_aliasing) LangEnabledBy(Fortran,Wall)
- Warn about possible aliasing of dummy arguments
- Walign-commons
- Fortran Warning Var(warn_align_commons) Init(1)
- Warn about alignment of COMMON blocks
- Wampersand
- Fortran Warning Var(warn_ampersand) LangEnabledBy(Fortran,Wall || Wpedantic)
- Warn about missing ampersand in continued character constants
- Warray-temporaries
- Fortran Warning Var(warn_array_temporaries)
- Warn about creation of array temporaries
- Wc-binding-type
- Fortran Var(warn_c_binding_type) Warning LangEnabledBy(Fortran,Wall)
- Warn if the type of a variable might be not interoperable with C
- Wdate-time
- Fortran
- ; Documented in C
- Wcharacter-truncation
- Fortran Var(warn_character_truncation) Warning LangEnabledBy(Fortran,Wall)
- Warn about truncated character expressions
- Wcompare-reals
- Fortran Warning Var(warn_compare_reals) LangEnabledBy(Fortran,Wextra)
- Warn about equality comparisons involving REAL or COMPLEX expressions
- Wconversion
- Fortran Var(warn_conversion) Warning LangEnabledBy(Fortran,Wall)
- ; Documented in C
- Wconversion-extra
- Fortran Var(warn_conversion_extra) Warning
- Warn about most implicit conversions
- Wextra
- Fortran Warning
- ; Documented in common
- Wfunction-elimination
- Fortran Warning Var(warn_function_elimination)
- Warn about function call elimination
- Wimplicit-interface
- Fortran Warning Var(warn_implicit_interface)
- Warn about calls with implicit interface
- Wimplicit-procedure
- Fortran Warning Var(warn_implicit_procedure)
- Warn about called procedures not explicitly declared
- Wline-truncation
- Fortran Warning Var(warn_line_truncation) LangEnabledBy(Fortran,Wall) Init(-1)
- Warn about truncated source lines
- Wintrinsics-std
- Fortran Var(warn_intrinsics_std) Warning LangEnabledBy(Fortran,Wall)
- Warn on intrinsics not part of the selected standard
- Wmaybe-uninitialized
- Fortran LangEnabledBy(Fortran,Wall)
- ; Documented in common.opt
- Wmissing-include-dirs
- Fortran
- ; Documented in C/C++
- Wuse-without-only
- Fortran Var(warn_use_without_only) Warning
- Warn about USE statements that have no ONLY qualifier
- Wopenmp-simd
- Fortran
- ; Documented in C
- Wpedantic
- Fortran
- ; Documented in common.opt
- Wreal-q-constant
- Fortran Warning Var(warn_real_q_constant) LangEnabledBy(Fortran,Wall)
- Warn about real-literal-constants with 'q' exponent-letter
- Wrealloc-lhs
- Fortran Warning Var(warn_realloc_lhs) LangEnabledBy(Fortran,Wrealloc-lhs-all)
- Warn when a left-hand-side array variable is reallocated
- Wrealloc-lhs-all
- Fortran Warning Var(warn_realloc_lhs_all)
- Warn when a left-hand-side variable is reallocated
- Wtarget-lifetime
- Fortran Warning Var(warn_target_lifetime) LangEnabledBy(Fortran,Wall)
- Warn if the pointer in a pointer assignment might outlive its target
- Wreturn-type
- Fortran Warning LangEnabledBy(Fortran,Wall)
- ; Documented in C
- Wsurprising
- Fortran Warning Var(warn_surprising) LangEnabledBy(Fortran,Wall)
- Warn about \"suspicious\" constructs
- Wtabs
- Fortran Warning Var(warn_tabs) LangEnabledBy(Fortran,Wall || Wpedantic)
- Permit nonconforming uses of the tab character
- Wunderflow
- Fortran Warning Var(warn_underflow) Init(1)
- Warn about underflow of numerical constant expressions
- Wuninitialized
- Fortran LangEnabledBy(Fortran,Wall)
- ; Documented in common.opt
- Wintrinsic-shadow
- Fortran Warning Var(warn_intrinsic_shadow) LangEnabledBy(Fortran,Wall)
- Warn if a user-procedure has the same name as an intrinsic
- Wunused
- LangEnabledBy(Fortran,Wall)
- ; Documented in common.opt
- Wunused-dummy-argument
- Fortran Warning Var(warn_unused_dummy_argument) LangEnabledBy(Fortran,Wall)
- Warn about unused dummy arguments.
- Wzerotrip
- Fortran Warning Var(warn_zerotrip) LangEnabledBy(Fortran,Wall)
- Warn about zero-trip DO loops
- cpp
- Fortran Negative(nocpp)
- Enable preprocessing
- cpp=
- Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord
- ; Internal option generated by specs from -cpp.
- nocpp
- Fortran Negative(cpp)
- Disable preprocessing
- d
- Fortran Joined
- ; Documented in common.opt
- faggressive-function-elimination
- Fortran Var(flag_aggressive_function_elimination)
- Eliminate multiple function invokations also for impure functions
- falign-commons
- Fortran Var(flag_align_commons) Init(1)
- Enable alignment of COMMON blocks
- fall-intrinsics
- Fortran RejectNegative Var(flag_all_intrinsics)
- All intrinsics procedures are available regardless of selected standard
- fallow-leading-underscore
- Fortran Undocumented Var(flag_allow_leading_underscore)
- ; For internal use only: allow the first character of symbol names to be an underscore
- fautomatic
- Fortran Var(flag_automatic) Init(1)
- Do not treat local variables and COMMON blocks as if they were named in SAVE statements
- fbackslash
- Fortran Var(flag_backslash)
- Specify that backslash in string introduces an escape character
- fbacktrace
- Fortran Var(flag_backtrace) Init(1)
- Produce a backtrace when a runtime error is encountered
- fblas-matmul-limit=
- Fortran RejectNegative Joined UInteger Var(flag_blas_matmul_limit) Init(30)
- -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
- fcheck-array-temporaries
- Fortran
- Produce a warning at runtime if a array temporary has been created for a procedure argument
- fconvert=
- Fortran RejectNegative Joined Enum(gfc_convert) Var(flag_convert) Init(GFC_FLAG_CONVERT_NATIVE)
- -fconvert=<big-endian|little-endian|native|swap> The endianness used for unformatted files.
- Enum
- Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianess value: %qs)
- EnumValue
- Enum(gfc_convert) String(big-endian) Value(GFC_FLAG_CONVERT_BIG)
- EnumValue
- Enum(gfc_convert) String(little-endian) Value(GFC_FLAG_CONVERT_LITTLE)
- EnumValue
- Enum(gfc_convert) String(native) Value(GFC_FLAG_CONVERT_NATIVE)
- EnumValue
- Enum(gfc_convert) String(swap) Value(GFC_FLAG_CONVERT_SWAP)
- fcray-pointer
- Fortran Var(flag_cray_pointer)
- Use the Cray Pointer extension
- fd-lines-as-code
- Fortran RejectNegative
- Ignore 'D' in column one in fixed form
- fd-lines-as-comments
- Fortran RejectNegative
- Treat lines with 'D' in column one as comments
- fdefault-double-8
- Fortran Var(flag_default_double)
- Set the default double precision kind to an 8 byte wide type
- fdefault-integer-8
- Fortran Var(flag_default_integer)
- Set the default integer kind to an 8 byte wide type
- fdefault-real-8
- Fortran Var(flag_default_real)
- Set the default real kind to an 8 byte wide type
- fdollar-ok
- Fortran Var(flag_dollar_ok)
- Allow dollar signs in entity names
- fdump-core
- Fortran Ignore
- Does nothing. Preserved for backward compatibility.
- fdump-fortran-original
- Fortran Var(flag_dump_fortran_original)
- Display the code tree after parsing
- fdump-fortran-optimized
- Fortran Var(flag_dump_fortran_optimized)
- Display the code tree after front end optimization
- fdump-parse-tree
- Fortran Alias(fdump-fortran-original)
- Display the code tree after parsing; deprecated option
- fexternal-blas
- Fortran Var(flag_external_blas)
- Specify that an external BLAS library should be used for matmul calls on large-size arrays
- ff2c
- Fortran Var(flag_f2c)
- Use f2c calling convention
- ffixed-form
- Fortran RejectNegative
- Assume that the source file is fixed form
- finteger-4-integer-8
- Fortran RejectNegative Var(flag_integer4_kind,8)
- Interpret any INTEGER(4) as an INTEGER(8)
- fintrinsic-modules-path
- Fortran RejectNegative Separate
- Specify where to find the compiled intrinsic modules
- fintrinsic-modules-path=
- Fortran RejectNegative Joined
- Specify where to find the compiled intrinsic modules
- ffixed-line-length-none
- Fortran RejectNegative Var(flag_fixed_line_length,0)
- Allow arbitrary character line width in fixed mode
- ffixed-line-length-
- Fortran RejectNegative Joined UInteger Var(flag_fixed_line_length) Init(72)
- -ffixed-line-length-<n> Use n as character line width in fixed mode
- ffpe-trap=
- Fortran RejectNegative JoinedOrMissing
- -ffpe-trap=[...] Stop on following floating point exceptions
- ffpe-summary=
- Fortran RejectNegative JoinedOrMissing
- -ffpe-summary=[...] Print summary of floating point exceptions
- ffree-form
- Fortran RejectNegative
- Assume that the source file is free form
- ffree-line-length-none
- Fortran RejectNegative Var(flag_free_line_length,0)
- Allow arbitrary character line width in free mode
- ffree-line-length-
- Fortran RejectNegative Joined UInteger Var(flag_free_line_length) Init(132)
- -ffree-line-length-<n> Use n as character line width in free mode
- ffrontend-optimize
- Fortran Var(flag_frontend_optimize) Init(-1)
- Enable front end optimization
- fimplicit-none
- Fortran Var(flag_implicit_none)
- Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
- finit-character=
- Fortran RejectNegative Joined UInteger
- -finit-character=<n> Initialize local character variables to ASCII value n
- finit-integer=
- Fortran RejectNegative Joined
- -finit-integer=<n> Initialize local integer variables to n
- finit-local-zero
- Fortran
- Initialize local variables to zero (from g77)
- finit-logical=
- Fortran RejectNegative Joined
- -finit-logical=<true|false> Initialize local logical variables
- finit-real=
- Fortran RejectNegative ToLower Joined Enum(gfc_init_local_real) Var(flag_init_real) Init(GFC_INIT_REAL_OFF)
- -finit-real=<zero|snan|nan|inf|-inf> Initialize local real variables
- Enum
- Name(gfc_init_local_real) Type(enum gfc_init_local_real) UnknownError(Unrecognized option to floating-point init value: %qs)
- EnumValue
- Enum(gfc_init_local_real) String(zero) Value(GFC_INIT_REAL_ZERO)
- EnumValue
- Enum(gfc_init_local_real) String(snan) Value(GFC_INIT_REAL_SNAN)
- EnumValue
- Enum(gfc_init_local_real) String(nan) Value(GFC_INIT_REAL_NAN)
- EnumValue
- Enum(gfc_init_local_real) String(inf) Value(GFC_INIT_REAL_INF)
- EnumValue
- Enum(gfc_init_local_real) String(-inf) Value(GFC_INIT_REAL_NEG_INF)
- fmax-array-constructor=
- Fortran RejectNegative Joined UInteger Var(flag_max_array_constructor) Init(65535)
- -fmax-array-constructor=<n> Maximum number of objects in an array constructor
- fmax-identifier-length=
- Fortran RejectNegative Joined UInteger
- -fmax-identifier-length=<n> Maximum identifier length
- fmax-subrecord-length=
- Fortran RejectNegative Joined UInteger Var(flag_max_subrecord_length)
- -fmax-subrecord-length=<n> Maximum length for subrecords
- fmax-stack-var-size=
- Fortran RejectNegative Joined UInteger Var(flag_max_stack_var_size) Init(-2)
- -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
- fstack-arrays
- Fortran Var(flag_stack_arrays) Init(-1)
- Put all local arrays on stack.
- fmodule-private
- Fortran Var(flag_module_private)
- Set default accessibility of module entities to PRIVATE.
- fopenacc
- Fortran LTO
- ; Documented in C
- fopenmp
- Fortran LTO
- ; Documented in C
- fopenmp-simd
- Fortran
- ; Documented in C
- fpack-derived
- Fortran Var(flag_pack_derived)
- Try to lay out derived types as compactly as possible
- fpreprocessed
- Fortran
- ; Documented in C
- fprotect-parens
- Fortran Var(flag_protect_parens) Init(-1)
- Protect parentheses in expressions
- frange-check
- Fortran Var(flag_range_check) Init(1)
- Enable range checking during compilation
- freal-4-real-8
- Fortran RejectNegative Var(flag_real4_kind,8)
- Interpret any REAL(4) as a REAL(8)
- freal-4-real-10
- Fortran RejectNegative Var(flag_real4_kind,10)
- Interpret any REAL(4) as a REAL(10)
- freal-4-real-16
- Fortran RejectNegative Var(flag_real4_kind,16)
- Interpret any REAL(4) as a REAL(16)
- freal-8-real-4
- Fortran RejectNegative Var(flag_real8_kind,4)
- Interpret any REAL(8) as a REAL(4)
- freal-8-real-10
- Fortran RejectNegative Var(flag_real8_kind,10)
- Interpret any REAL(8) as a REAL(10)
- freal-8-real-16
- Fortran RejectNegative Var(flag_real8_kind,16)
- Interpret any REAL(8) as a REAL(16)
- frealloc-lhs
- Fortran Var(flag_realloc_lhs) Init(-1)
- Reallocate the LHS in assignments
- frecord-marker=4
- Fortran RejectNegative Var(flag_record_marker,4)
- Use a 4-byte record marker for unformatted files
- frecord-marker=8
- Fortran RejectNegative Var(flag_record_marker,8)
- Use an 8-byte record marker for unformatted files
- frecursive
- Fortran Var(flag_recursive)
- Allocate local variables on the stack to allow indirect recursion
- frepack-arrays
- Fortran Var(flag_repack_arrays)
- Copy array sections into a contiguous block on procedure entry
- fcoarray=
- Fortran RejectNegative Joined Enum(gfc_fcoarray) Var(flag_coarray) Init(GFC_FCOARRAY_NONE)
- -fcoarray=<none|single|lib> Specify which coarray parallelization should be used
- Enum
- Name(gfc_fcoarray) Type(enum gfc_fcoarray) UnknownError(Unrecognized option: %qs)
- EnumValue
- Enum(gfc_fcoarray) String(none) Value(GFC_FCOARRAY_NONE)
- EnumValue
- Enum(gfc_fcoarray) String(single) Value(GFC_FCOARRAY_SINGLE)
- EnumValue
- Enum(gfc_fcoarray) String(lib) Value(GFC_FCOARRAY_LIB)
- fcheck=
- Fortran RejectNegative JoinedOrMissing
- -fcheck=[...] Specify which runtime checks are to be performed
- fsecond-underscore
- Fortran Var(flag_second_underscore) Init(-1)
- Append a second underscore if the name already contains an underscore
- fshort-enums
- Fortran Var(flag_short_enums)
- ; Documented in C
- fsign-zero
- Fortran Var(flag_sign_zero) Init(1)
- Apply negative sign to zero values
- funderscoring
- Fortran Var(flag_underscoring) Init(1)
- Append underscores to externally visible names
- fwhole-file
- Fortran Ignore
- Does nothing. Preserved for backward compatibility.
- fworking-directory
- Fortran
- ; Documented in C
- idirafter
- Fortran Joined Separate
- ; Documented in C
- imultilib
- Fortran Joined Separate
- ; Documented in C
- iprefix
- Fortran Joined Separate
- ; Documented in C
- iquote
- Fortran Joined Separate
- ; Documented in C
- isysroot
- Fortran Joined Separate
- ; Documented in C
- isystem
- Fortran Joined Separate
- ; Documented in C
- nostdinc
- Fortran
- ; Documented in C
- o
- Fortran Joined Separate
- ; Documented in common.opt
- static-libgfortran
- Fortran
- Statically link the GNU Fortran helper library (libgfortran)
- std=f2003
- Fortran
- Conform to the ISO Fortran 2003 standard
- std=f2008
- Fortran
- Conform to the ISO Fortran 2008 standard
- std=f2008ts
- Fortran
- Conform to the ISO Fortran 2008 standard including TS 29113
- std=f95
- Fortran
- Conform to the ISO Fortran 95 standard
- std=gnu
- Fortran
- Conform to nothing in particular
- std=legacy
- Fortran
- Accept extensions to support legacy code
- undef
- Fortran
- ; Documented in C
- v
- Fortran
- ; Documented in C
- ; This comment is to ensure we retain the blank line above.
|