1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
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.
29 Fortran Joined Separate
41 Fortran Joined Separate
52 Fortran Joined Separate
56 Fortran Joined Separate
57 -J<directory> Put MODULE files in 'directory'
64 Fortran Joined Separate
73 Warn about possible aliasing of dummy arguments
77 Warn about alignment of COMMON blocks
81 Warn about missing ampersand in continued character constants
85 Warn about creation of array temporaries
89 Warn about truncated character expressions
97 Warn about most implicit conversions
101 Warn about calls with implicit interface
105 Warn about called procedures not explicitly declared
109 Warn about truncated source lines
113 Warn on intrinsics not part of the selected standard
121 Warn about \"suspicious\" constructs
125 Permit nonconforming uses of the tab character
129 Warn about underflow of numerical constant expressions
133 Warn if a user-procedure has the same name as an intrinsic
135 Wunused-dummy-argument
137 Warn about unused dummy arguments.
140 Fortran Joined Separate Negative(nocpp)
144 Fortran Negative(cpp)
145 Disable preprocessing
149 ; Documented in common.opt
153 Enable alignment of COMMON blocks
156 Fortran RejectNegative
157 All intrinsics procedures are available regardless of selected standard
159 fallow-leading-underscore
161 ; For internal use only: allow the first character of symbol names to be an underscore
165 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
169 Specify that backslash in string introduces an escape character
173 Produce a backtrace when a runtime error is encountered
176 Fortran RejectNegative Joined UInteger
177 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
179 fcheck-array-temporaries
181 Produce a warning at runtime if a array temporary has been created for a procedure argument
184 Fortran RejectNegative
185 Use big-endian format for unformatted files
187 fconvert=little-endian
188 Fortran RejectNegative
189 Use little-endian format for unformatted files
192 Fortran RejectNegative
193 Use native format for unformatted files
196 Fortran RejectNegative
197 Swap endianness for unformatted files
201 Use the Cray Pointer extension
204 Fortran RejectNegative
205 Ignore 'D' in column one in fixed form
208 Fortran RejectNegative
209 Treat lines with 'D' in column one as comments
213 Set the default double precision kind to an 8 byte wide type
217 Set the default integer kind to an 8 byte wide type
221 Set the default real kind to an 8 byte wide type
225 Allow dollar signs in entity names
229 Dump a core file when a runtime error occurs
233 Display the code tree after parsing
237 Specify that an external BLAS library should be used for matmul calls on large-size arrays
241 Use f2c calling convention
244 Fortran RejectNegative
245 Assume that the source file is fixed form
247 fintrinsic-modules-path
248 Fortran RejectNegative Joined Separate
249 Specify where to find the compiled intrinsic modules
251 ffixed-line-length-none
252 Fortran RejectNegative
253 Allow arbitrary character line width in fixed mode
256 Fortran RejectNegative Joined UInteger
257 -ffixed-line-length-<n> Use n as character line width in fixed mode
260 Fortran RejectNegative JoinedOrMissing
261 -ffpe-trap=[...] Stop on following floating point exceptions
264 Fortran RejectNegative
265 Assume that the source file is free form
267 ffree-line-length-none
268 Fortran RejectNegative
269 Allow arbitrary character line width in free mode
272 Fortran RejectNegative Joined UInteger
273 -ffree-line-length-<n> Use n as character line width in free mode
277 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
280 Fortran RejectNegative Joined UInteger
281 -finit-character=<n> Initialize local character variables to ASCII value n
284 Fortran RejectNegative Joined
285 -finit-integer=<n> Initialize local integer variables to n
289 Initialize local variables to zero (from g77)
292 Fortran RejectNegative Joined
293 -finit-logical=<true|false> Initialize local logical variables
296 Fortran RejectNegative Joined
297 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
299 fmax-array-constructor=
300 Fortran RejectNegative Joined UInteger
301 -fmax-array-constructor=<n> Maximum number of objects in an array constructor
304 Fortran RejectNegative Joined UInteger
305 -fmax-errors=<n> Maximum number of errors to report
307 fmax-identifier-length=
308 Fortran RejectNegative Joined UInteger
309 -fmax-identifier-length=<n> Maximum identifier length
311 fmax-subrecord-length=
312 Fortran RejectNegative Joined UInteger
313 -fmax-subrecord-length=<n> Maximum length for subrecords
316 Fortran RejectNegative Joined UInteger
317 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
321 Set default accessibility of module entities to PRIVATE.
329 Try to lay out derived types as compactly as possible
337 Protect parentheses in expressions
341 Enable range checking during compilation
344 Fortran RejectNegative
345 Use a 4-byte record marker for unformatted files
348 Fortran RejectNegative
349 Use an 8-byte record marker for unformatted files
353 Allocate local variables on the stack to allow indirect recursion
357 Copy array sections into a contiguous block on procedure entry
360 Fortran RejectNegative JoinedOrMissing
361 -fcoarray=[...] Specify which coarray parallelization should be used
364 Fortran RejectNegative JoinedOrMissing
365 -fcheck=[...] Specify which runtime checks are to be performed
369 Append a second underscore if the name already contains an underscore
377 Apply negative sign to zero values
381 Append underscores to externally visible names
385 Compile all program units at once and check all interfaces
392 Fortran Joined Separate
396 Fortran Joined Separate
400 Fortran Joined Separate
404 Fortran Joined Separate
408 Fortran Joined Separate
412 Fortran Joined Separate
420 Fortran Joined Separate
421 ; Documented in common.opt
425 Statically link the GNU Fortran helper library (libgfortran)
429 Conform to the ISO Fortran 2003 standard
433 Conform to the ISO Fortran 2008 standard
437 Conform to the ISO Fortran 95 standard
441 Conform to nothing in particular
445 Accept extensions to support legacy code
455 ; This comment is to ensure we retain the blank line above.