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