1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
3 ; Free Software Foundation, Inc.
5 ; This file is part of GCC.
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
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
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/>.
21 ; See the GCC internals manual for a description of this file's format.
23 ; Please try to keep this file in ASCII collating order.
32 Fortran Separate Alias(A)
35 Fortran Joined Alias(A)
44 Fortran Separate Alias(D)
47 Fortran Joined Alias(D)
53 Fortran Separate Alias(d)
56 Fortran Joined Alias(d)
62 Fortran Separate Alias(I)
65 Fortran Joined Alias(I)
67 -include-directory-after
68 Fortran Separate Alias(idirafter)
70 -include-directory-after=
71 Fortran Joined Alias(idirafter)
74 Fortran Separate Alias(iprefix)
77 Fortran JoinedOrMissing Alias(iprefix)
83 Fortran Alias(nostdinc)
86 Fortran Separate Alias(o)
89 Fortran Joined Alias(o)
92 Fortran Undocumented Alias(E)
94 -print-missing-file-dependencies
101 Fortran Separate Alias(U)
104 Fortran Joined Alias(U)
113 Fortran NoDriverArg Separate Alias(MD)
115 -write-user-dependencies
116 Fortran NoDriverArg Separate Alias(MMD)
119 Fortran Joined Separate
131 Fortran Joined Separate
142 Fortran Joined Separate
146 Fortran Joined Separate
147 -J<directory> Put MODULE files in 'directory'
154 Fortran Separate NoDriverArg
158 Fortran Joined Separate
170 Fortran Separate NoDriverArg
178 Fortran Joined Separate
182 Fortran Joined Separate
190 Fortran Joined Separate
199 Warn about possible aliasing of dummy arguments
203 Warn about alignment of COMMON blocks
207 Warn about missing ampersand in continued character constants
211 Warn about creation of array temporaries
215 Warn if the type of a variable might be not interoperable with C
217 Wcharacter-truncation
219 Warn about truncated character expressions
227 Warn about most implicit conversions
229 Wfunction-elimination
231 Warn about function call elimination
235 Warn about calls with implicit interface
239 Warn about called procedures not explicitly declared
243 Warn about truncated source lines
247 Warn on intrinsics not part of the selected standard
251 Warn about real-literal-constants with 'q' exponent-letter
259 Warn about \"suspicious\" constructs
263 Permit nonconforming uses of the tab character
267 Warn about underflow of numerical constant expressions
271 Warn if a user-procedure has the same name as an intrinsic
273 Wunused-dummy-argument
275 Warn about unused dummy arguments.
278 Fortran Negative(nocpp)
282 Fortran Joined Negative(nocpp) Undocumented
283 ; Internal option generated by specs from -cpp.
286 Fortran Negative(cpp)
287 Disable preprocessing
291 ; Documented in common.opt
293 faggressive-function-elimination
295 Eliminate multiple function invokations also for impure functions
299 Enable alignment of COMMON blocks
302 Fortran RejectNegative
303 All intrinsics procedures are available regardless of selected standard
305 fallow-leading-underscore
307 ; For internal use only: allow the first character of symbol names to be an underscore
311 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
315 Specify that backslash in string introduces an escape character
319 Produce a backtrace when a runtime error is encountered
322 Fortran RejectNegative Joined UInteger
323 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
325 fcheck-array-temporaries
327 Produce a warning at runtime if a array temporary has been created for a procedure argument
330 Fortran RejectNegative
331 Use big-endian format for unformatted files
333 fconvert=little-endian
334 Fortran RejectNegative
335 Use little-endian format for unformatted files
338 Fortran RejectNegative
339 Use native format for unformatted files
342 Fortran RejectNegative
343 Swap endianness for unformatted files
347 Use the Cray Pointer extension
350 Fortran RejectNegative
351 Ignore 'D' in column one in fixed form
354 Fortran RejectNegative
355 Treat lines with 'D' in column one as comments
359 Set the default double precision kind to an 8 byte wide type
363 Set the default integer kind to an 8 byte wide type
367 Set the default real kind to an 8 byte wide type
371 Allow dollar signs in entity names
375 Does nothing. Preserved for backward compatibility.
377 fdump-fortran-original
379 Display the code tree after parsing
381 fdump-fortran-optimized
383 Display the code tree after front end optimization
387 Display the code tree after parsing; deprecated option
391 Specify that an external BLAS library should be used for matmul calls on large-size arrays
395 Use f2c calling convention
398 Fortran RejectNegative
399 Assume that the source file is fixed form
402 Fortran RejectNegative
403 Interpret any INTEGER(4) as an INTEGER(8)
405 fintrinsic-modules-path
406 Fortran RejectNegative Joined Separate
407 Specify where to find the compiled intrinsic modules
409 ffixed-line-length-none
410 Fortran RejectNegative
411 Allow arbitrary character line width in fixed mode
414 Fortran RejectNegative Joined UInteger
415 -ffixed-line-length-<n> Use n as character line width in fixed mode
418 Fortran RejectNegative JoinedOrMissing
419 -ffpe-trap=[...] Stop on following floating point exceptions
422 Fortran RejectNegative
423 Assume that the source file is free form
425 ffree-line-length-none
426 Fortran RejectNegative
427 Allow arbitrary character line width in free mode
430 Fortran RejectNegative Joined UInteger
431 -ffree-line-length-<n> Use n as character line width in free mode
435 Enable front end optimization
439 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
442 Fortran RejectNegative Joined UInteger
443 -finit-character=<n> Initialize local character variables to ASCII value n
446 Fortran RejectNegative Joined
447 -finit-integer=<n> Initialize local integer variables to n
451 Initialize local variables to zero (from g77)
454 Fortran RejectNegative Joined
455 -finit-logical=<true|false> Initialize local logical variables
458 Fortran RejectNegative Joined
459 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
461 fmax-array-constructor=
462 Fortran RejectNegative Joined UInteger
463 -fmax-array-constructor=<n> Maximum number of objects in an array constructor
465 fmax-identifier-length=
466 Fortran RejectNegative Joined UInteger
467 -fmax-identifier-length=<n> Maximum identifier length
469 fmax-subrecord-length=
470 Fortran RejectNegative Joined UInteger
471 -fmax-subrecord-length=<n> Maximum length for subrecords
474 Fortran RejectNegative Joined UInteger
475 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
479 Put all local arrays on stack.
483 Set default accessibility of module entities to PRIVATE.
491 Try to lay out derived types as compactly as possible
499 Protect parentheses in expressions
503 Enable range checking during compilation
506 Fortran RejectNegative
507 Interpret any REAL(4) as a REAL(8)
510 Fortran RejectNegative
511 Interpret any REAL(4) as a REAL(10)
514 Fortran RejectNegative
515 Interpret any REAL(4) as a REAL(16)
518 Fortran RejectNegative
519 Interpret any REAL(8) as a REAL(4)
522 Fortran RejectNegative
523 Interpret any REAL(8) as a REAL(10)
526 Fortran RejectNegative
527 Interpret any REAL(8) as a REAL(16)
531 Reallocate the LHS in assignments
534 Fortran RejectNegative
535 Use a 4-byte record marker for unformatted files
538 Fortran RejectNegative
539 Use an 8-byte record marker for unformatted files
543 Allocate local variables on the stack to allow indirect recursion
547 Copy array sections into a contiguous block on procedure entry
550 Fortran RejectNegative JoinedOrMissing
551 -fcoarray=[...] Specify which coarray parallelization should be used
554 Fortran RejectNegative JoinedOrMissing
555 -fcheck=[...] Specify which runtime checks are to be performed
559 Append a second underscore if the name already contains an underscore
562 Fortran Var(flag_short_enums)
567 Apply negative sign to zero values
571 Append underscores to externally visible names
575 Compile all program units at once and check all interfaces
582 Fortran Joined Separate
586 Fortran Joined Separate
590 Fortran Joined Separate
594 Fortran Joined Separate
598 Fortran Joined Separate
602 Fortran Joined Separate
610 Fortran Joined Separate
611 ; Documented in common.opt
615 Statically link the GNU Fortran helper library (libgfortran)
619 Conform to the ISO Fortran 2003 standard
623 Conform to the ISO Fortran 2008 standard
627 Conform to the ISO Fortran 2008 standard including TS 29113
631 Conform to the ISO Fortran 95 standard
635 Conform to nothing in particular
639 Accept extensions to support legacy code
649 ; This comment is to ensure we retain the blank line above.