1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003-2014 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
260 Wmissing-include-dirs
262 ; Documented in C/C++
265 Fortran Var(warn_use_without_only) Warning
266 Warn about USE statements that have no ONLY qualifier
274 Warn about real-literal-constants with 'q' exponent-letter
278 Warn when a left-hand-side array variable is reallocated
282 Warn when a left-hand-side variable is reallocated
286 Warn if the pointer in a pointer assignment might outlive its target
294 Warn about \"suspicious\" constructs
298 Permit nonconforming uses of the tab character
302 Warn about underflow of numerical constant expressions
306 Warn if a user-procedure has the same name as an intrinsic
308 Wunused-dummy-argument
310 Warn about unused dummy arguments.
314 Warn about zero-trip DO loops
317 Fortran Negative(nocpp)
321 Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord
322 ; Internal option generated by specs from -cpp.
325 Fortran Negative(cpp)
326 Disable preprocessing
330 ; Documented in common.opt
332 faggressive-function-elimination
334 Eliminate multiple function invokations also for impure functions
338 Enable alignment of COMMON blocks
341 Fortran RejectNegative
342 All intrinsics procedures are available regardless of selected standard
344 fallow-leading-underscore
346 ; For internal use only: allow the first character of symbol names to be an underscore
350 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
354 Specify that backslash in string introduces an escape character
358 Produce a backtrace when a runtime error is encountered
361 Fortran RejectNegative Joined UInteger
362 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
364 fcheck-array-temporaries
366 Produce a warning at runtime if a array temporary has been created for a procedure argument
369 Fortran RejectNegative
370 Use big-endian format for unformatted files
372 fconvert=little-endian
373 Fortran RejectNegative
374 Use little-endian format for unformatted files
377 Fortran RejectNegative
378 Use native format for unformatted files
381 Fortran RejectNegative
382 Swap endianness for unformatted files
386 Use the Cray Pointer extension
389 Fortran RejectNegative
390 Ignore 'D' in column one in fixed form
393 Fortran RejectNegative
394 Treat lines with 'D' in column one as comments
398 Set the default double precision kind to an 8 byte wide type
402 Set the default integer kind to an 8 byte wide type
406 Set the default real kind to an 8 byte wide type
410 Allow dollar signs in entity names
414 Does nothing. Preserved for backward compatibility.
416 fdump-fortran-original
418 Display the code tree after parsing
420 fdump-fortran-optimized
422 Display the code tree after front end optimization
426 Display the code tree after parsing; deprecated option
430 Specify that an external BLAS library should be used for matmul calls on large-size arrays
434 Use f2c calling convention
437 Fortran RejectNegative
438 Assume that the source file is fixed form
441 Fortran RejectNegative
442 Interpret any INTEGER(4) as an INTEGER(8)
444 fintrinsic-modules-path
445 Fortran RejectNegative Separate
446 Specify where to find the compiled intrinsic modules
448 fintrinsic-modules-path=
449 Fortran RejectNegative Joined
450 Specify where to find the compiled intrinsic modules
452 ffixed-line-length-none
453 Fortran RejectNegative
454 Allow arbitrary character line width in fixed mode
457 Fortran RejectNegative Joined UInteger
458 -ffixed-line-length-<n> Use n as character line width in fixed mode
461 Fortran RejectNegative JoinedOrMissing
462 -ffpe-trap=[...] Stop on following floating point exceptions
465 Fortran RejectNegative JoinedOrMissing
466 -ffpe-summary=[...] Print summary of floating point exceptions
469 Fortran RejectNegative
470 Assume that the source file is free form
472 ffree-line-length-none
473 Fortran RejectNegative
474 Allow arbitrary character line width in free mode
477 Fortran RejectNegative Joined UInteger
478 -ffree-line-length-<n> Use n as character line width in free mode
482 Enable front end optimization
486 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
489 Fortran RejectNegative Joined UInteger
490 -finit-character=<n> Initialize local character variables to ASCII value n
493 Fortran RejectNegative Joined
494 -finit-integer=<n> Initialize local integer variables to n
498 Initialize local variables to zero (from g77)
501 Fortran RejectNegative Joined
502 -finit-logical=<true|false> Initialize local logical variables
505 Fortran RejectNegative Joined
506 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
508 fmax-array-constructor=
509 Fortran RejectNegative Joined UInteger
510 -fmax-array-constructor=<n> Maximum number of objects in an array constructor
512 fmax-identifier-length=
513 Fortran RejectNegative Joined UInteger
514 -fmax-identifier-length=<n> Maximum identifier length
516 fmax-subrecord-length=
517 Fortran RejectNegative Joined UInteger
518 -fmax-subrecord-length=<n> Maximum length for subrecords
521 Fortran RejectNegative Joined UInteger
522 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
526 Put all local arrays on stack.
530 Set default accessibility of module entities to PRIVATE.
542 Try to lay out derived types as compactly as possible
550 Protect parentheses in expressions
554 Enable range checking during compilation
557 Fortran RejectNegative
558 Interpret any REAL(4) as a REAL(8)
561 Fortran RejectNegative
562 Interpret any REAL(4) as a REAL(10)
565 Fortran RejectNegative
566 Interpret any REAL(4) as a REAL(16)
569 Fortran RejectNegative
570 Interpret any REAL(8) as a REAL(4)
573 Fortran RejectNegative
574 Interpret any REAL(8) as a REAL(10)
577 Fortran RejectNegative
578 Interpret any REAL(8) as a REAL(16)
582 Reallocate the LHS in assignments
585 Fortran RejectNegative
586 Use a 4-byte record marker for unformatted files
589 Fortran RejectNegative
590 Use an 8-byte record marker for unformatted files
594 Allocate local variables on the stack to allow indirect recursion
598 Copy array sections into a contiguous block on procedure entry
601 Fortran RejectNegative JoinedOrMissing
602 -fcoarray=[...] Specify which coarray parallelization should be used
605 Fortran RejectNegative JoinedOrMissing
606 -fcheck=[...] Specify which runtime checks are to be performed
610 Append a second underscore if the name already contains an underscore
613 Fortran Var(flag_short_enums)
618 Apply negative sign to zero values
622 Append underscores to externally visible names
626 Does nothing. Preserved for backward compatibility.
633 Fortran Joined Separate
637 Fortran Joined Separate
641 Fortran Joined Separate
645 Fortran Joined Separate
649 Fortran Joined Separate
653 Fortran Joined Separate
661 Fortran Joined Separate
662 ; Documented in common.opt
666 Statically link the GNU Fortran helper library (libgfortran)
670 Conform to the ISO Fortran 2003 standard
674 Conform to the ISO Fortran 2008 standard
678 Conform to the ISO Fortran 2008 standard including TS 29113
682 Conform to the ISO Fortran 95 standard
686 Conform to nothing in particular
690 Accept extensions to support legacy code
700 ; This comment is to ensure we retain the blank line above.