]>
Commit | Line | Data |
---|---|---|
6de9cd9a | 1 | ; Options for the Fortran 95 front end. |
840bd9f7 | 2 | ; Copyright (C) 2003, 2004, 2005, 2006 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 | |
8 | ; Software Foundation; either version 2, or (at your option) any later | |
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 | |
17 | ; along with GCC; see the file COPYING. If not, write to the Free | |
ab57747b KC |
18 | ; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA |
19 | ; 02110-1301, USA. | |
6de9cd9a | 20 | |
0b026622 | 21 | ; See the GCC internals manual for a description of this file's format. |
6de9cd9a DN |
22 | |
23 | ; Please try to keep this file in ASCII collating order. | |
24 | ||
25 | Language | |
7f26dfa3 | 26 | Fortran |
6de9cd9a DN |
27 | |
28 | I | |
7f26dfa3 | 29 | Fortran Joined |
6de9cd9a DN |
30 | -I<directory> Add a directory for INCLUDE and MODULE searching |
31 | ||
32 | J | |
7f26dfa3 | 33 | Fortran Joined |
6de9cd9a DN |
34 | -J<directory> Put MODULE files in 'directory' |
35 | ||
36 | Wall | |
7f26dfa3 | 37 | Fortran RejectNegative |
6de9cd9a DN |
38 | ; Documented in C |
39 | ||
40 | Waliasing | |
7f26dfa3 | 41 | Fortran |
6de9cd9a DN |
42 | Warn about possible aliasing of dummy arguments |
43 | ||
3fbab549 JD |
44 | Wampersand |
45 | Fortran | |
46 | Warn about missing ampersand in continued character constants | |
47 | ||
6de9cd9a | 48 | Wconversion |
7f26dfa3 | 49 | Fortran |
6de9cd9a DN |
50 | Warn about implicit conversion |
51 | ||
52 | Wimplicit-interface | |
7f26dfa3 | 53 | Fortran |
6de9cd9a DN |
54 | Warn about calls with implicit interface |
55 | ||
56 | Wline-truncation | |
7f26dfa3 | 57 | Fortran |
6de9cd9a DN |
58 | Warn about truncated source lines |
59 | ||
b7892582 | 60 | Wnonstd-intrinsics |
7f26dfa3 | 61 | Fortran |
b7892582 JB |
62 | Warn about usage of non-standard intrinsics |
63 | ||
6de9cd9a | 64 | Wsurprising |
7f26dfa3 | 65 | Fortran |
6de9cd9a DN |
66 | Warn about \"suspicious\" constructs |
67 | ||
840bd9f7 SK |
68 | Wtabs |
69 | Fortran | |
a23eec13 | 70 | Permit nonconforming uses of the tab character |
840bd9f7 | 71 | |
2d8b59df | 72 | Wunderflow |
7f26dfa3 | 73 | Fortran |
2d8b59df SK |
74 | Warn about underflow of numerical constant expressions |
75 | ||
a23eec13 SK |
76 | fall-intrinsics |
77 | Fortran RejectNegative | |
78 | All intrinsics procedures are available regardless of selected standard | |
79 | ||
ee5426a4 | 80 | fautomatic |
7f26dfa3 | 81 | Fortran |
ee5426a4 FXC |
82 | Do not treat local variables and COMMON blocks as if they were named in SAVE statements |
83 | ||
e0bcf78c | 84 | fbackslash |
7f26dfa3 | 85 | Fortran |
e0bcf78c TS |
86 | Specify that backslash in string introduces an escape character |
87 | ||
5a0aad31 FXC |
88 | fexternal-blas |
89 | Fortran | |
90 | Specify that an external BLAS library should be used for matmul calls on large-size arrays | |
91 | ||
92 | fblas-matmul-limit= | |
93 | Fortran RejectNegative Joined UInteger | |
94 | -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS | |
95 | ||
3ae9eb27 | 96 | fdefault-double-8 |
7f26dfa3 | 97 | Fortran |
3ae9eb27 SK |
98 | Set the default double precision kind to an 8 byte wide type |
99 | ||
100 | fdefault-integer-8 | |
7f26dfa3 | 101 | Fortran |
3ae9eb27 SK |
102 | Set the default integer kind to an 8 byte wide type |
103 | ||
104 | fdefault-real-8 | |
7f26dfa3 | 105 | Fortran |
3ae9eb27 | 106 | Set the default real kind to an 8 byte wide type |
6de9cd9a | 107 | |
e0bcf78c | 108 | fd-lines-as-code |
7f26dfa3 | 109 | Fortran RejectNegative |
e0bcf78c TS |
110 | Ignore 'D' in column one in fixed form |
111 | ||
112 | fd-lines-as-comments | |
7f26dfa3 | 113 | Fortran RejectNegative |
e0bcf78c TS |
114 | Treat lines with 'D' in column one as comments |
115 | ||
6de9cd9a | 116 | fdollar-ok |
7f26dfa3 | 117 | Fortran |
6de9cd9a DN |
118 | Allow dollar signs in entity names |
119 | ||
120 | fdump-parse-tree | |
7f26dfa3 | 121 | Fortran |
c85ce869 | 122 | Display the code tree after parsing |
6de9cd9a | 123 | |
973ff4c0 | 124 | ff2c |
7f26dfa3 | 125 | Fortran |
c85ce869 | 126 | Use f2c calling convention |
973ff4c0 | 127 | |
6de9cd9a | 128 | ffixed-form |
1005cc9c | 129 | Fortran RejectNegative |
6de9cd9a DN |
130 | Assume that the source file is fixed form |
131 | ||
132 | ffree-form | |
1005cc9c | 133 | Fortran RejectNegative |
6de9cd9a DN |
134 | Assume that the source file is free form |
135 | ||
6c7a4dfd JJ |
136 | fopenmp |
137 | Fortran | |
138 | Enable OpenMP | |
139 | ||
6de9cd9a | 140 | funderscoring |
7f26dfa3 | 141 | Fortran |
6de9cd9a DN |
142 | Append underscores to externally visible names |
143 | ||
83d890b9 AL |
144 | fcray-pointer |
145 | Fortran | |
146 | Use the Cray Pointer extension | |
147 | ||
6de9cd9a | 148 | fsecond-underscore |
7f26dfa3 | 149 | Fortran |
6de9cd9a DN |
150 | Append a second underscore if the name already contains an underscore |
151 | ||
152 | fimplicit-none | |
7f26dfa3 | 153 | Fortran |
6de9cd9a DN |
154 | Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements |
155 | ||
f56c5d5d | 156 | ffixed-line-length-none |
7f26dfa3 | 157 | Fortran RejectNegative |
f56c5d5d | 158 | Allow arbitrary character line width in fixed mode |
6de9cd9a | 159 | |
f56c5d5d | 160 | ffixed-line-length- |
7f26dfa3 | 161 | Fortran RejectNegative Joined UInteger |
f56c5d5d | 162 | -ffixed-line-length-<n> Use n as character line width in fixed mode |
6de9cd9a | 163 | |
16ab8e74 BF |
164 | ffree-line-length-none |
165 | Fortran RejectNegative | |
166 | Allow arbitrary character line width in free mode | |
167 | ||
168 | ffree-line-length- | |
169 | Fortran RejectNegative Joined UInteger | |
170 | -ffree-line-length-<n> Use n as character line width in free mode | |
171 | ||
3f139fcf BM |
172 | fmax-errors= |
173 | Fortran RejectNegative Joined UInteger | |
174 | -fmax-errors=<n> Maximum number of errors to report | |
175 | ||
6de9cd9a | 176 | fmax-identifier-length= |
7f26dfa3 | 177 | Fortran RejectNegative Joined UInteger |
c85ce869 | 178 | -fmax-identifier-length=<n> Maximum identifier length |
6de9cd9a DN |
179 | |
180 | fmax-stack-var-size= | |
7f26dfa3 | 181 | Fortran RejectNegative Joined UInteger |
6de9cd9a DN |
182 | -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack |
183 | ||
6de9cd9a | 184 | fno-backend |
7f26dfa3 | 185 | Fortran RejectNegative |
6de9cd9a DN |
186 | Don't generate code, just do syntax and semantics checking |
187 | ||
54554825 JD |
188 | frange-check |
189 | Fortran | |
190 | Enable range checking during compilation | |
191 | ||
6de9cd9a | 192 | fpack-derived |
7f26dfa3 | 193 | Fortran |
6de9cd9a DN |
194 | Try to layout derived types as compact as possible |
195 | ||
196 | frepack-arrays | |
7f26dfa3 | 197 | Fortran |
6de9cd9a DN |
198 | Copy array sections into a contiguous block on procedure entry |
199 | ||
2d7c7df6 JJ |
200 | fpreprocessed |
201 | Fortran | |
202 | Treat the input file as preprocessed | |
203 | ||
944b8b35 FXC |
204 | ffpe-trap= |
205 | Fortran RejectNegative JoinedOrMissing | |
206 | -ffpe-trap=[..] Stop on following floating point exceptions | |
207 | ||
6de9cd9a | 208 | std=f95 |
7f26dfa3 | 209 | Fortran |
c85ce869 | 210 | Conform to the ISO Fortran 95 standard |
6de9cd9a DN |
211 | |
212 | std=f2003 | |
7f26dfa3 | 213 | Fortran |
c85ce869 | 214 | Conform to the ISO Fortran 2003 standard |
6de9cd9a DN |
215 | |
216 | std=gnu | |
7f26dfa3 | 217 | Fortran |
c85ce869 | 218 | Conform nothing in particular |
6de9cd9a | 219 | |
c0309c74 | 220 | std=legacy |
7f26dfa3 | 221 | Fortran |
c85ce869 | 222 | Accept extensions to support legacy code |
c0309c74 | 223 | |
25d8f0a2 TS |
224 | fshort-enums |
225 | Fortran | |
226 | Use the narrowest integer type possible for enumeration types | |
227 | ||
eaa90d25 TK |
228 | fconvert=little-endian |
229 | Fortran RejectNegative | |
230 | Use little-endian format for unformatted files | |
231 | ||
232 | fconvert=big-endian | |
233 | Fortran RejectNegative | |
234 | Use big-endian format for unformatted files | |
235 | ||
236 | fconvert=native | |
237 | Fortran RejectNegative | |
238 | Use native format for unformatted files | |
239 | ||
240 | fconvert=swap | |
241 | Fortran RejectNegative | |
242 | Swap endianness for unformatted files | |
243 | ||
d67ab5ee TK |
244 | frecord-marker=4 |
245 | Fortran RejectNegative | |
246 | Use a 4-byte record marker for unformatted files | |
247 | ||
248 | frecord-marker=8 | |
249 | Fortran RejectNegative | |
250 | Use an 8-byte record marker for unformatted files | |
251 | ||
6de9cd9a | 252 | ; This comment is to ensure we retain the blank line above. |