OSDN Git Service

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