OSDN Git Service

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