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