OSDN Git Service

2008-08-14 Janus Weil <janus@gcc.gnu.org>
[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 A
29 Fortran Joined Separate
30 ; Documented in C
31
32 C
33 Fortran
34 ; Documented in C
35
36 CC
37 Fortran
38 ; Documented in C
39
40 D
41 Fortran Joined Separate
42 ; Documented in C
43
44 E
45 Fortran Undocumented
46
47 H
48 Fortran
49 ; Documented in C
50
51 I
52 Fortran Joined Separate
53 -I<directory>   Add a directory for INCLUDE and MODULE searching
54
55 J
56 Fortran Joined Separate
57 -J<directory>   Put MODULE files in 'directory'
58
59 P
60 Fortran
61 ; Documented in C
62
63 U
64 Fortran Joined Separate
65 ; Documented in C
66
67 Wall
68 Fortran
69 ; Documented in C
70
71 Waliasing
72 Fortran Warning
73 Warn about possible aliasing of dummy arguments
74
75 Wampersand
76 Fortran Warning
77 Warn about missing ampersand in continued character constants
78
79 Warray-temporaries
80 Fortran Warning
81 Warn about creation of array temporaries
82
83 Wcharacter-truncation
84 Fortran Warning
85 Warn about truncated character expressions
86
87 Wconversion
88 Fortran Warning
89 Warn about implicit conversion
90
91 Wimplicit-interface
92 Fortran Warning
93 Warn about calls with implicit interface
94
95 Wline-truncation
96 Fortran Warning
97 Warn about truncated source lines
98
99 Wintrinsics-std
100 Fortran Warning
101 Warn on intrinsics not part of the selected standard
102
103 Wreturn-type
104 Fortran Warning
105 ; Documented in C
106
107 Wsurprising
108 Fortran Warning
109 Warn about \"suspicious\" constructs
110
111 Wtabs
112 Fortran Warning
113 Permit nonconforming uses of the tab character
114
115 Wunderflow
116 Fortran Warning
117 Warn about underflow of numerical constant expressions
118
119 Wintrinsic-shadow
120 Fortran Warning
121 Warn if a user-procedure has the same name as an intrinsic
122
123 cpp
124 Fortran Joined Separate Negative(nocpp)
125 Enable preprocessing
126
127 nocpp
128 Fortran Negative(cpp)
129 Disable preprocessing
130
131 d
132 Fortran Joined
133 -d[DIMNU]       Dump details about macro names and definitions during preprocessing
134
135 fall-intrinsics
136 Fortran RejectNegative
137 All intrinsics procedures are available regardless of selected standard
138
139 fallow-leading-underscore
140 Fortran Undocumented
141 ; For internal use only: allow the first character of symbol names to be an underscore
142
143 fautomatic
144 Fortran
145 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
146
147 fbackslash
148 Fortran
149 Specify that backslash in string introduces an escape character
150
151 fbacktrace
152 Fortran
153 Produce a backtrace when a runtime error is encountered
154
155 fblas-matmul-limit=
156 Fortran RejectNegative Joined UInteger
157 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
158
159 fcheck-array-temporaries
160 Fortran
161 Produce a warning at runtime if a array temporary has been created for a procedure argument
162
163 fconvert=big-endian
164 Fortran RejectNegative
165 Use big-endian format for unformatted files
166
167 fconvert=little-endian
168 Fortran RejectNegative
169 Use little-endian format for unformatted files
170
171 fconvert=native
172 Fortran RejectNegative
173 Use native format for unformatted files
174
175 fconvert=swap
176 Fortran RejectNegative
177 Swap endianness for unformatted files
178
179 fcray-pointer
180 Fortran
181 Use the Cray Pointer extension
182
183 fd-lines-as-code
184 Fortran RejectNegative
185 Ignore 'D' in column one in fixed form
186
187 fd-lines-as-comments
188 Fortran RejectNegative
189 Treat lines with 'D' in column one as comments
190
191 fdefault-double-8
192 Fortran
193 Set the default double precision kind to an 8 byte wide type
194
195 fdefault-integer-8
196 Fortran
197 Set the default integer kind to an 8 byte wide type
198
199 fdefault-real-8
200 Fortran
201 Set the default real kind to an 8 byte wide type
202
203 fdollar-ok
204 Fortran
205 Allow dollar signs in entity names
206
207 fdump-core
208 Fortran
209 Dump a core file when a runtime error occurs
210
211 fdump-parse-tree
212 Fortran
213 Display the code tree after parsing
214
215 fexternal-blas
216 Fortran
217 Specify that an external BLAS library should be used for matmul calls on large-size arrays
218
219 ff2c
220 Fortran
221 Use f2c calling convention
222
223 ffixed-form
224 Fortran RejectNegative
225 Assume that the source file is fixed form
226
227 fintrinsic-modules-path
228 Fortran RejectNegative Joined Separate
229 Specify where to find the compiled intrinsic modules
230
231 ffixed-line-length-none
232 Fortran RejectNegative
233 Allow arbitrary character line width in fixed mode
234
235 ffixed-line-length-
236 Fortran RejectNegative Joined UInteger
237 -ffixed-line-length-<n>         Use n as character line width in fixed mode
238
239 ffpe-trap=
240 Fortran RejectNegative JoinedOrMissing
241 -ffpe-trap=[..] Stop on following floating point exceptions
242
243 ffree-form
244 Fortran RejectNegative
245 Assume that the source file is free form
246
247 ffree-line-length-none
248 Fortran RejectNegative
249 Allow arbitrary character line width in free mode
250
251 ffree-line-length-
252 Fortran RejectNegative Joined UInteger
253 -ffree-line-length-<n>          Use n as character line width in free mode
254
255 fimplicit-none
256 Fortran
257 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
258
259 finit-character=
260 Fortran RejectNegative Joined UInteger
261 -finit-character=<n> Initialize local character variables to ASCII value n
262
263 finit-integer=
264 Fortran RejectNegative Joined
265 -finit-integer=<n> Initialize local integer variables to n
266
267 finit-local-zero
268 Fortran
269 Initialize local variables to zero (from g77)
270
271 finit-logical=
272 Fortran RejectNegative Joined
273 -finit-logical=<true|false> Initialize local logical variables
274
275 finit-real=
276 Fortran RejectNegative Joined
277 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
278
279 fmax-errors=
280 Fortran RejectNegative Joined UInteger
281 -fmax-errors=<n>        Maximum number of errors to report
282
283 fmax-identifier-length=
284 Fortran RejectNegative Joined UInteger
285 -fmax-identifier-length=<n>     Maximum identifier length
286
287 fmax-subrecord-length=
288 Fortran RejectNegative Joined UInteger
289 -fmax-subrecord-length=<n>      Maximum length for subrecords
290
291 fmax-stack-var-size=
292 Fortran RejectNegative Joined UInteger
293 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
294
295 fmodule-private
296 Fortran
297 Set default accessibility of module entities to PRIVATE.
298
299 fopenmp
300 Fortran
301 Enable OpenMP (also sets frecursive)
302
303 fpack-derived
304 Fortran
305 Try to lay out derived types as compactly as possible
306
307 fpreprocessed
308 Fortran
309 Treat the input file as preprocessed
310
311 frange-check
312 Fortran
313 Enable range checking during compilation
314
315 frecord-marker=4
316 Fortran RejectNegative
317 Use a 4-byte record marker for unformatted files
318
319 frecord-marker=8
320 Fortran RejectNegative
321 Use an 8-byte record marker for unformatted files
322
323 frecursive
324 Fortran
325 Allocate local variables on the stack to allow indirect recursion
326
327 frepack-arrays
328 Fortran
329 Copy array sections into a contiguous block on procedure entry
330
331 fsecond-underscore
332 Fortran
333 Append a second underscore if the name already contains an underscore
334
335 fshort-enums
336 Fortran
337 Use the narrowest integer type possible for enumeration types
338
339 fsign-zero
340 Fortran
341 Apply negative sign to zero values
342
343 funderscoring
344 Fortran
345 Append underscores to externally visible names
346
347 fworking-directory
348 Fortran
349 ; Documented in C
350
351 imultilib
352 Fortran Joined Separate
353 ; Documented in C
354
355 iprefix
356 Fortran Joined Separate
357 ; Documented in C
358
359 iquote
360 Fortran Joined Separate
361 ; Documented in C
362
363 isysroot
364 Fortran Joined Separate
365 ; Documented in C
366
367 isystem
368 Fortran Joined Separate
369 ; Documented in C
370
371 nostdinc
372 Fortran
373 ; Documented in C
374
375 o
376 Fortran Joined Separate
377 ; Documented in common.opt
378
379 static-libgfortran
380 Fortran
381 Statically link the GNU Fortran helper library (libgfortran)
382
383 std=f2003
384 Fortran
385 Conform to the ISO Fortran 2003 standard
386
387 std=f2008
388 Fortran
389 Conform to the ISO Fortran 2008 standard
390
391 std=f95
392 Fortran
393 Conform to the ISO Fortran 95 standard
394
395 std=gnu
396 Fortran
397 Conform to nothing in particular
398
399 std=legacy
400 Fortran
401 Accept extensions to support legacy code
402
403 undef
404 Fortran
405 ; Documented in C
406
407 v
408 Fortran
409 ; Documented in C
410
411 ; This comment is to ensure we retain the blank line above.