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
216 Wcharacter-truncation
218 Warn about truncated character expressions
222 Warn about equality comparisons involving REAL or COMPLEX expressions
230 Warn about most implicit conversions
234 Print extra (possibly unwanted) warnings
236 Wfunction-elimination
238 Warn about function call elimination
242 Warn about calls with implicit interface
246 Warn about called procedures not explicitly declared
250 Warn about truncated source lines
254 Warn on intrinsics not part of the selected standard
258 Warn about real-literal-constants with 'q' exponent-letter
262 Warn when a left-hand-side array variable is reallocated
266 Warn when a left-hand-side variable is reallocated
270 Warn if the pointer in a pointer assignment might outlive its target
278 Warn about \"suspicious\" constructs
282 Permit nonconforming uses of the tab character
286 Warn about underflow of numerical constant expressions
290 Warn if a user-procedure has the same name as an intrinsic
292 Wunused-dummy-argument
294 Warn about unused dummy arguments.
297 Fortran Negative(nocpp)
301 Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord
302 ; Internal option generated by specs from -cpp.
305 Fortran Negative(cpp)
306 Disable preprocessing
310 ; Documented in common.opt
312 faggressive-function-elimination
314 Eliminate multiple function invokations also for impure functions
318 Enable alignment of COMMON blocks
321 Fortran RejectNegative
322 All intrinsics procedures are available regardless of selected standard
324 fallow-leading-underscore
326 ; For internal use only: allow the first character of symbol names to be an underscore
330 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
334 Specify that backslash in string introduces an escape character
338 Produce a backtrace when a runtime error is encountered
341 Fortran RejectNegative Joined UInteger
342 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
344 fcheck-array-temporaries
346 Produce a warning at runtime if a array temporary has been created for a procedure argument
349 Fortran RejectNegative
350 Use big-endian format for unformatted files
352 fconvert=little-endian
353 Fortran RejectNegative
354 Use little-endian format for unformatted files
357 Fortran RejectNegative
358 Use native format for unformatted files
361 Fortran RejectNegative
362 Swap endianness for unformatted files
366 Use the Cray Pointer extension
369 Fortran RejectNegative
370 Ignore 'D' in column one in fixed form
373 Fortran RejectNegative
374 Treat lines with 'D' in column one as comments
378 Set the default double precision kind to an 8 byte wide type
382 Set the default integer kind to an 8 byte wide type
386 Set the default real kind to an 8 byte wide type
390 Allow dollar signs in entity names
394 Does nothing. Preserved for backward compatibility.
396 fdump-fortran-original
398 Display the code tree after parsing
400 fdump-fortran-optimized
402 Display the code tree after front end optimization
406 Display the code tree after parsing; deprecated option
410 Specify that an external BLAS library should be used for matmul calls on large-size arrays
414 Use f2c calling convention
417 Fortran RejectNegative
418 Assume that the source file is fixed form
421 Fortran RejectNegative
422 Interpret any INTEGER(4) as an INTEGER(8)
424 fintrinsic-modules-path
425 Fortran RejectNegative Separate
426 Specify where to find the compiled intrinsic modules
428 fintrinsic-modules-path=
429 Fortran RejectNegative Joined
430 Specify where to find the compiled intrinsic modules
432 ffixed-line-length-none
433 Fortran RejectNegative
434 Allow arbitrary character line width in fixed mode
437 Fortran RejectNegative Joined UInteger
438 -ffixed-line-length-<n> Use n as character line width in fixed mode
441 Fortran RejectNegative JoinedOrMissing
442 -ffpe-trap=[...] Stop on following floating point exceptions
445 Fortran RejectNegative JoinedOrMissing
446 -ffpe-summary=[...] Print summary of floating point exceptions
449 Fortran RejectNegative
450 Assume that the source file is free form
452 ffree-line-length-none
453 Fortran RejectNegative
454 Allow arbitrary character line width in free mode
457 Fortran RejectNegative Joined UInteger
458 -ffree-line-length-<n> Use n as character line width in free mode
462 Enable front end optimization
466 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
469 Fortran RejectNegative Joined UInteger
470 -finit-character=<n> Initialize local character variables to ASCII value n
473 Fortran RejectNegative Joined
474 -finit-integer=<n> Initialize local integer variables to n
478 Initialize local variables to zero (from g77)
481 Fortran RejectNegative Joined
482 -finit-logical=<true|false> Initialize local logical variables
485 Fortran RejectNegative Joined
486 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
488 fmax-array-constructor=
489 Fortran RejectNegative Joined UInteger
490 -fmax-array-constructor=<n> Maximum number of objects in an array constructor
492 fmax-identifier-length=
493 Fortran RejectNegative Joined UInteger
494 -fmax-identifier-length=<n> Maximum identifier length
496 fmax-subrecord-length=
497 Fortran RejectNegative Joined UInteger
498 -fmax-subrecord-length=<n> Maximum length for subrecords
501 Fortran RejectNegative Joined UInteger
502 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
506 Put all local arrays on stack.
510 Set default accessibility of module entities to PRIVATE.
518 Try to lay out derived types as compactly as possible
526 Protect parentheses in expressions
530 Enable range checking during compilation
533 Fortran RejectNegative
534 Interpret any REAL(4) as a REAL(8)
537 Fortran RejectNegative
538 Interpret any REAL(4) as a REAL(10)
541 Fortran RejectNegative
542 Interpret any REAL(4) as a REAL(16)
545 Fortran RejectNegative
546 Interpret any REAL(8) as a REAL(4)
549 Fortran RejectNegative
550 Interpret any REAL(8) as a REAL(10)
553 Fortran RejectNegative
554 Interpret any REAL(8) as a REAL(16)
558 Reallocate the LHS in assignments
561 Fortran RejectNegative
562 Use a 4-byte record marker for unformatted files
565 Fortran RejectNegative
566 Use an 8-byte record marker for unformatted files
570 Allocate local variables on the stack to allow indirect recursion
574 Copy array sections into a contiguous block on procedure entry
577 Fortran RejectNegative JoinedOrMissing
578 -fcoarray=[...] Specify which coarray parallelization should be used
581 Fortran RejectNegative JoinedOrMissing
582 -fcheck=[...] Specify which runtime checks are to be performed
586 Append a second underscore if the name already contains an underscore
589 Fortran Var(flag_short_enums)
594 Apply negative sign to zero values
598 Append underscores to externally visible names
602 Does nothing. Preserved for backward compatibility.
609 Fortran Joined Separate
613 Fortran Joined Separate
617 Fortran Joined Separate
621 Fortran Joined Separate
625 Fortran Joined Separate
629 Fortran Joined Separate
637 Fortran Joined Separate
638 ; Documented in common.opt
642 Statically link the GNU Fortran helper library (libgfortran)
646 Conform to the ISO Fortran 2003 standard
650 Conform to the ISO Fortran 2008 standard
654 Conform to the ISO Fortran 2008 standard including TS 29113
658 Conform to the ISO Fortran 95 standard
662 Conform to nothing in particular
666 Accept extensions to support legacy code
676 ; This comment is to ensure we retain the blank line above.