]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/fortran/lang.opt
arith.c: Change copyright header to refer to version 3 of the GNU General Public...
[thirdparty/gcc.git] / gcc / fortran / lang.opt
CommitLineData
6de9cd9a 1; Options for the Fortran 95 front end.
c662432e 2; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
6de9cd9a
DN
3;
4; This file is part of GCC.
5;
6; GCC is free software; you can redistribute it and/or modify it under
7; the terms of the GNU General Public License as published by the Free
d234d788 8; Software Foundation; either version 3, or (at your option) any later
6de9cd9a
DN
9; version.
10;
11; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14; for more details.
15;
16; You should have received a copy of the GNU General Public License
d234d788
NC
17; along with GCC; see the file COPYING3. If not see
18; <http://www.gnu.org/licenses/>.
6de9cd9a 19
0b026622 20; See the GCC internals manual for a description of this file's format.
6de9cd9a
DN
21
22; Please try to keep this file in ASCII collating order.
23
24Language
7f26dfa3 25Fortran
6de9cd9a
DN
26
27I
7f26dfa3 28Fortran Joined
6de9cd9a
DN
29-I<directory> Add a directory for INCLUDE and MODULE searching
30
31J
7f26dfa3 32Fortran Joined
6de9cd9a
DN
33-J<directory> Put MODULE files in 'directory'
34
35Wall
4428e682 36Fortran
6de9cd9a
DN
37; Documented in C
38
39Waliasing
c662432e 40Fortran Warning
6de9cd9a
DN
41Warn about possible aliasing of dummy arguments
42
3fbab549 43Wampersand
c662432e 44Fortran Warning
3fbab549
JD
45Warn about missing ampersand in continued character constants
46
0b30ba3b 47Wcharacter-truncation
c662432e 48Fortran Warning
0b30ba3b
JD
49Warn about truncated character expressions
50
6de9cd9a 51Wconversion
c662432e 52Fortran Warning
6de9cd9a
DN
53Warn about implicit conversion
54
55Wimplicit-interface
c662432e 56Fortran Warning
6de9cd9a
DN
57Warn about calls with implicit interface
58
59Wline-truncation
c662432e 60Fortran Warning
6de9cd9a
DN
61Warn about truncated source lines
62
b7892582 63Wnonstd-intrinsics
c662432e 64Fortran Warning
b7892582
JB
65Warn about usage of non-standard intrinsics
66
6de9cd9a 67Wsurprising
c662432e 68Fortran Warning
6de9cd9a
DN
69Warn about \"suspicious\" constructs
70
840bd9f7 71Wtabs
c662432e 72Fortran Warning
a23eec13 73Permit nonconforming uses of the tab character
840bd9f7 74
2d8b59df 75Wunderflow
c662432e 76Fortran Warning
2d8b59df
SK
77Warn about underflow of numerical constant expressions
78
a23eec13
SK
79fall-intrinsics
80Fortran RejectNegative
81All intrinsics procedures are available regardless of selected standard
82
e6472bce
FXC
83fallow-leading-underscore
84Fortran Undocumented
85; For internal use only: allow the first character of symbol names to be an underscore
86
ee5426a4 87fautomatic
7f26dfa3 88Fortran
ee5426a4
FXC
89Do not treat local variables and COMMON blocks as if they were named in SAVE statements
90
e0bcf78c 91fbackslash
7f26dfa3 92Fortran
e0bcf78c
TS
93Specify that backslash in string introduces an escape character
94
868d75db
FXC
95fbacktrace
96Fortran
97Produce a backtrace when a runtime error is encountered
98
5a0aad31
FXC
99fblas-matmul-limit=
100Fortran RejectNegative Joined UInteger
101-fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
102
10612ddf
BM
103fconvert=big-endian
104Fortran RejectNegative
105Use big-endian format for unformatted files
3ae9eb27 106
10612ddf
BM
107fconvert=little-endian
108Fortran RejectNegative
109Use little-endian format for unformatted files
3ae9eb27 110
10612ddf
BM
111fconvert=native
112Fortran RejectNegative
113Use native format for unformatted files
114
115fconvert=swap
116Fortran RejectNegative
117Swap endianness for unformatted files
118
119fcray-pointer
7f26dfa3 120Fortran
10612ddf 121Use the Cray Pointer extension
6de9cd9a 122
e0bcf78c 123fd-lines-as-code
7f26dfa3 124Fortran RejectNegative
e0bcf78c
TS
125Ignore 'D' in column one in fixed form
126
127fd-lines-as-comments
7f26dfa3 128Fortran RejectNegative
e0bcf78c
TS
129Treat lines with 'D' in column one as comments
130
10612ddf
BM
131fdefault-double-8
132Fortran
133Set the default double precision kind to an 8 byte wide type
134
135fdefault-integer-8
136Fortran
137Set the default integer kind to an 8 byte wide type
138
139fdefault-real-8
140Fortran
141Set the default real kind to an 8 byte wide type
142
6de9cd9a 143fdollar-ok
7f26dfa3 144Fortran
6de9cd9a
DN
145Allow dollar signs in entity names
146
eedeea04
FXC
147fdump-core
148Fortran
149Dump a core file when a runtime error occurs
150
6de9cd9a 151fdump-parse-tree
7f26dfa3 152Fortran
c85ce869 153Display the code tree after parsing
6de9cd9a 154
10612ddf
BM
155fexternal-blas
156Fortran
157Specify that an external BLAS library should be used for matmul calls on large-size arrays
158
973ff4c0 159ff2c
7f26dfa3 160Fortran
c85ce869 161Use f2c calling convention
973ff4c0 162
6de9cd9a 163ffixed-form
1005cc9c 164Fortran RejectNegative
6de9cd9a
DN
165Assume that the source file is fixed form
166
31198773
FXC
167fintrinsic-modules-path
168Fortran RejectNegative Joined Separate
169Specify where to find the compiled intrinsic modules
170
f56c5d5d 171ffixed-line-length-none
7f26dfa3 172Fortran RejectNegative
f56c5d5d 173Allow arbitrary character line width in fixed mode
6de9cd9a 174
f56c5d5d 175ffixed-line-length-
7f26dfa3 176Fortran RejectNegative Joined UInteger
f56c5d5d 177-ffixed-line-length-<n> Use n as character line width in fixed mode
6de9cd9a 178
10612ddf
BM
179ffpe-trap=
180Fortran RejectNegative JoinedOrMissing
181-ffpe-trap=[..] Stop on following floating point exceptions
182
183ffree-form
184Fortran RejectNegative
185Assume that the source file is free form
186
16ab8e74
BF
187ffree-line-length-none
188Fortran RejectNegative
189Allow arbitrary character line width in free mode
190
191ffree-line-length-
192Fortran RejectNegative Joined UInteger
193-ffree-line-length-<n> Use n as character line width in free mode
194
10612ddf
BM
195fimplicit-none
196Fortran
197Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
198
3f139fcf
BM
199fmax-errors=
200Fortran RejectNegative Joined UInteger
201-fmax-errors=<n> Maximum number of errors to report
202
6de9cd9a 203fmax-identifier-length=
7f26dfa3 204Fortran RejectNegative Joined UInteger
c85ce869 205-fmax-identifier-length=<n> Maximum identifier length
6de9cd9a 206
07b3bbf2
TK
207fmax-subrecord-length=
208Fortran RejectNegative Joined UInteger
209-fmax-subrecord-length=<n> Maximum length for subrecords
210
6de9cd9a 211fmax-stack-var-size=
7f26dfa3 212Fortran RejectNegative Joined UInteger
6de9cd9a
DN
213-fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
214
10612ddf 215fopenmp
54554825 216Fortran
10612ddf 217Enable OpenMP
54554825 218
6de9cd9a 219fpack-derived
7f26dfa3 220Fortran
0d67a675 221Try to lay out derived types as compactly as possible
6de9cd9a 222
10612ddf
BM
223fpreprocessed
224Fortran
225Treat the input file as preprocessed
226
227frange-check
228Fortran
229Enable range checking during compilation
230
231frecord-marker=4
232Fortran RejectNegative
233Use a 4-byte record marker for unformatted files
234
235frecord-marker=8
236Fortran RejectNegative
237Use an 8-byte record marker for unformatted files
238
6de9cd9a 239frepack-arrays
7f26dfa3 240Fortran
6de9cd9a
DN
241Copy array sections into a contiguous block on procedure entry
242
10612ddf 243fsecond-underscore
2d7c7df6 244Fortran
10612ddf 245Append a second underscore if the name already contains an underscore
2d7c7df6 246
10612ddf
BM
247fshort-enums
248Fortran
249Use the narrowest integer type possible for enumeration types
944b8b35 250
68d2e027
JD
251fsign-zero
252Fortran
253Apply negative sign to zero values
254
10612ddf 255funderscoring
7f26dfa3 256Fortran
10612ddf 257Append underscores to externally visible names
6de9cd9a 258
86db887a
FXC
259static-libgfortran
260Fortran
261Statically link the GNU Fortran helper library (libgfortran)
262
6de9cd9a 263std=f2003
7f26dfa3 264Fortran
c85ce869 265Conform to the ISO Fortran 2003 standard
6de9cd9a 266
10612ddf
BM
267std=f95
268Fortran
269Conform to the ISO Fortran 95 standard
270
6de9cd9a 271std=gnu
7f26dfa3 272Fortran
0d67a675 273Conform to nothing in particular
6de9cd9a 274
c0309c74 275std=legacy
7f26dfa3 276Fortran
c85ce869 277Accept extensions to support legacy code
c0309c74 278
6de9cd9a 279; This comment is to ensure we retain the blank line above.