1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003-2013 Free Software Foundation, Inc.
4 ; This file is part of GCC.
6 ; GCC is free software; you can redistribute it and/or modify it under
7 ; the terms of the GNU General Public License as published by the Free
8 ; Software Foundation; either version 3, or (at your option) any later
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 ; You should have received a copy of the GNU General Public License
17 ; along with GCC; see the file COPYING3. If not see
18 ; <http://www.gnu.org/licenses/>.
20 ; See the GCC internals manual for a description of this file's format.
22 ; Please try to keep this file in ASCII collating order.
31 Fortran Separate Alias(A)
34 Fortran Joined Alias(A)
43 Fortran Separate Alias(D)
46 Fortran Joined Alias(D)
52 Fortran Separate Alias(d)
55 Fortran Joined Alias(d)
61 Fortran Separate Alias(I)
64 Fortran Joined Alias(I)
66 -include-directory-after
67 Fortran Separate Alias(idirafter)
69 -include-directory-after=
70 Fortran Joined Alias(idirafter)
73 Fortran Separate Alias(iprefix)
76 Fortran JoinedOrMissing Alias(iprefix)
82 Fortran Alias(nostdinc)
85 Fortran Separate Alias(o)
88 Fortran Joined Alias(o)
91 Fortran Undocumented Alias(E)
93 -print-missing-file-dependencies
100 Fortran Separate Alias(U)
103 Fortran Joined Alias(U)
112 Fortran NoDriverArg Separate Alias(MD)
114 -write-user-dependencies
115 Fortran NoDriverArg Separate Alias(MMD)
118 Fortran Joined Separate
130 Fortran Joined Separate
141 Fortran Joined Separate
145 Fortran Joined Separate
146 -J<directory> Put MODULE files in 'directory'
153 Fortran Separate NoDriverArg
157 Fortran Joined Separate
169 Fortran Separate NoDriverArg
177 Fortran Joined Separate
181 Fortran Joined Separate
189 Fortran Joined Separate
198 Warn about possible aliasing of dummy arguments
202 Warn about alignment of COMMON blocks
206 Warn about missing ampersand in continued character constants
210 Warn about creation of array temporaries
214 Warn if the type of a variable might be not interoperable with C
220 Wcharacter-truncation
222 Warn about truncated character expressions
226 Warn about equality comparisons involving REAL or COMPLEX expressions
234 Warn about most implicit conversions
238 Print extra (possibly unwanted) warnings
240 Wfunction-elimination
242 Warn about function call elimination
246 Warn about calls with implicit interface
250 Warn about called procedures not explicitly declared
254 Warn about truncated source lines
258 Warn on intrinsics not part of the selected standard
262 Warn about real-literal-constants with 'q' exponent-letter
266 Warn when a left-hand-side array variable is reallocated
270 Warn when a left-hand-side variable is reallocated
274 Warn if the pointer in a pointer assignment might outlive its target
282 Warn about \"suspicious\" constructs
286 Permit nonconforming uses of the tab character
290 Warn about underflow of numerical constant expressions
294 Warn if a user-procedure has the same name as an intrinsic
296 Wunused-dummy-argument
298 Warn about unused dummy arguments.
302 Warn about zero-trip DO loops
305 Fortran Negative(nocpp)
309 Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord
310 ; Internal option generated by specs from -cpp.
313 Fortran Negative(cpp)
314 Disable preprocessing
318 ; Documented in common.opt
320 faggressive-function-elimination
322 Eliminate multiple function invokations also for impure functions
326 Enable alignment of COMMON blocks
329 Fortran RejectNegative
330 All intrinsics procedures are available regardless of selected standard
332 fallow-leading-underscore
334 ; For internal use only: allow the first character of symbol names to be an underscore
338 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
342 Specify that backslash in string introduces an escape character
346 Produce a backtrace when a runtime error is encountered
349 Fortran RejectNegative Joined UInteger
350 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
352 fcheck-array-temporaries
354 Produce a warning at runtime if a array temporary has been created for a procedure argument
357 Fortran RejectNegative
358 Use big-endian format for unformatted files
360 fconvert=little-endian
361 Fortran RejectNegative
362 Use little-endian format for unformatted files
365 Fortran RejectNegative
366 Use native format for unformatted files
369 Fortran RejectNegative
370 Swap endianness for unformatted files
374 Use the Cray Pointer extension
377 Fortran RejectNegative
378 Ignore 'D' in column one in fixed form
381 Fortran RejectNegative
382 Treat lines with 'D' in column one as comments
386 Set the default double precision kind to an 8 byte wide type
390 Set the default integer kind to an 8 byte wide type
394 Set the default real kind to an 8 byte wide type
398 Allow dollar signs in entity names
402 Does nothing. Preserved for backward compatibility.
404 fdump-fortran-original
406 Display the code tree after parsing
408 fdump-fortran-optimized
410 Display the code tree after front end optimization
414 Display the code tree after parsing; deprecated option
418 Specify that an external BLAS library should be used for matmul calls on large-size arrays
422 Use f2c calling convention
425 Fortran RejectNegative
426 Assume that the source file is fixed form
429 Fortran RejectNegative
430 Interpret any INTEGER(4) as an INTEGER(8)
432 fintrinsic-modules-path
433 Fortran RejectNegative Separate
434 Specify where to find the compiled intrinsic modules
436 fintrinsic-modules-path=
437 Fortran RejectNegative Joined
438 Specify where to find the compiled intrinsic modules
440 ffixed-line-length-none
441 Fortran RejectNegative
442 Allow arbitrary character line width in fixed mode
445 Fortran RejectNegative Joined UInteger
446 -ffixed-line-length-<n> Use n as character line width in fixed mode
449 Fortran RejectNegative JoinedOrMissing
450 -ffpe-trap=[...] Stop on following floating point exceptions
453 Fortran RejectNegative JoinedOrMissing
454 -ffpe-summary=[...] Print summary of floating point exceptions
457 Fortran RejectNegative
458 Assume that the source file is free form
460 ffree-line-length-none
461 Fortran RejectNegative
462 Allow arbitrary character line width in free mode
465 Fortran RejectNegative Joined UInteger
466 -ffree-line-length-<n> Use n as character line width in free mode
470 Enable front end optimization
474 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
477 Fortran RejectNegative Joined UInteger
478 -finit-character=<n> Initialize local character variables to ASCII value n
481 Fortran RejectNegative Joined
482 -finit-integer=<n> Initialize local integer variables to n
486 Initialize local variables to zero (from g77)
489 Fortran RejectNegative Joined
490 -finit-logical=<true|false> Initialize local logical variables
493 Fortran RejectNegative Joined
494 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
496 fmax-array-constructor=
497 Fortran RejectNegative Joined UInteger
498 -fmax-array-constructor=<n> Maximum number of objects in an array constructor
500 fmax-identifier-length=
501 Fortran RejectNegative Joined UInteger
502 -fmax-identifier-length=<n> Maximum identifier length
504 fmax-subrecord-length=
505 Fortran RejectNegative Joined UInteger
506 -fmax-subrecord-length=<n> Maximum length for subrecords
509 Fortran RejectNegative Joined UInteger
510 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
514 Put all local arrays on stack.
518 Set default accessibility of module entities to PRIVATE.
530 Try to lay out derived types as compactly as possible
538 Protect parentheses in expressions
542 Enable range checking during compilation
545 Fortran RejectNegative
546 Interpret any REAL(4) as a REAL(8)
549 Fortran RejectNegative
550 Interpret any REAL(4) as a REAL(10)
553 Fortran RejectNegative
554 Interpret any REAL(4) as a REAL(16)
557 Fortran RejectNegative
558 Interpret any REAL(8) as a REAL(4)
561 Fortran RejectNegative
562 Interpret any REAL(8) as a REAL(10)
565 Fortran RejectNegative
566 Interpret any REAL(8) as a REAL(16)
570 Reallocate the LHS in assignments
573 Fortran RejectNegative
574 Use a 4-byte record marker for unformatted files
577 Fortran RejectNegative
578 Use an 8-byte record marker for unformatted files
582 Allocate local variables on the stack to allow indirect recursion
586 Copy array sections into a contiguous block on procedure entry
589 Fortran RejectNegative JoinedOrMissing
590 -fcoarray=[...] Specify which coarray parallelization should be used
593 Fortran RejectNegative JoinedOrMissing
594 -fcheck=[...] Specify which runtime checks are to be performed
598 Append a second underscore if the name already contains an underscore
601 Fortran Var(flag_short_enums)
606 Apply negative sign to zero values
610 Append underscores to externally visible names
614 Does nothing. Preserved for backward compatibility.
621 Fortran Joined Separate
625 Fortran Joined Separate
629 Fortran Joined Separate
633 Fortran Joined Separate
637 Fortran Joined Separate
641 Fortran Joined Separate
649 Fortran Joined Separate
650 ; Documented in common.opt
654 Statically link the GNU Fortran helper library (libgfortran)
658 Conform to the ISO Fortran 2003 standard
662 Conform to the ISO Fortran 2008 standard
666 Conform to the ISO Fortran 2008 standard including TS 29113
670 Conform to the ISO Fortran 95 standard
674 Conform to nothing in particular
678 Accept extensions to support legacy code
688 ; This comment is to ensure we retain the blank line above.