OSDN Git Service

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