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