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'
68 Fortran Joined Separate
88 Fortran Joined Separate
92 Fortran Joined Separate
100 Fortran Joined Separate
109 Warn about possible aliasing of dummy arguments
113 Warn about alignment of COMMON blocks
117 Warn about missing ampersand in continued character constants
121 Warn about creation of array temporaries
123 Wcharacter-truncation
125 Warn about truncated character expressions
133 Warn about most implicit conversions
137 Warn about calls with implicit interface
141 Warn about called procedures not explicitly declared
145 Warn about truncated source lines
149 Warn on intrinsics not part of the selected standard
157 Warn about \"suspicious\" constructs
161 Permit nonconforming uses of the tab character
165 Warn about underflow of numerical constant expressions
169 Warn if a user-procedure has the same name as an intrinsic
171 Wunused-dummy-argument
173 Warn about unused dummy arguments.
176 Fortran Joined Separate Negative(nocpp)
180 Fortran Negative(cpp)
181 Disable preprocessing
185 ; Documented in common.opt
189 Enable alignment of COMMON blocks
192 Fortran RejectNegative
193 All intrinsics procedures are available regardless of selected standard
195 fallow-leading-underscore
197 ; For internal use only: allow the first character of symbol names to be an underscore
201 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
205 Specify that backslash in string introduces an escape character
209 Produce a backtrace when a runtime error is encountered
212 Fortran RejectNegative Joined UInteger
213 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
215 fcheck-array-temporaries
217 Produce a warning at runtime if a array temporary has been created for a procedure argument
220 Fortran RejectNegative
221 Use big-endian format for unformatted files
223 fconvert=little-endian
224 Fortran RejectNegative
225 Use little-endian format for unformatted files
228 Fortran RejectNegative
229 Use native format for unformatted files
232 Fortran RejectNegative
233 Swap endianness for unformatted files
237 Use the Cray Pointer extension
240 Fortran RejectNegative
241 Ignore 'D' in column one in fixed form
244 Fortran RejectNegative
245 Treat lines with 'D' in column one as comments
249 Set the default double precision kind to an 8 byte wide type
253 Set the default integer kind to an 8 byte wide type
257 Set the default real kind to an 8 byte wide type
261 Allow dollar signs in entity names
265 Dump a core file when a runtime error occurs
269 Display the code tree after parsing
273 Specify that an external BLAS library should be used for matmul calls on large-size arrays
277 Use f2c calling convention
280 Fortran RejectNegative
281 Assume that the source file is fixed form
283 fintrinsic-modules-path
284 Fortran RejectNegative Joined Separate
285 Specify where to find the compiled intrinsic modules
287 ffixed-line-length-none
288 Fortran RejectNegative
289 Allow arbitrary character line width in fixed mode
292 Fortran RejectNegative Joined UInteger
293 -ffixed-line-length-<n> Use n as character line width in fixed mode
296 Fortran RejectNegative JoinedOrMissing
297 -ffpe-trap=[...] Stop on following floating point exceptions
300 Fortran RejectNegative
301 Assume that the source file is free form
303 ffree-line-length-none
304 Fortran RejectNegative
305 Allow arbitrary character line width in free mode
308 Fortran RejectNegative Joined UInteger
309 -ffree-line-length-<n> Use n as character line width in free mode
313 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
316 Fortran RejectNegative Joined UInteger
317 -finit-character=<n> Initialize local character variables to ASCII value n
320 Fortran RejectNegative Joined
321 -finit-integer=<n> Initialize local integer variables to n
325 Initialize local variables to zero (from g77)
328 Fortran RejectNegative Joined
329 -finit-logical=<true|false> Initialize local logical variables
332 Fortran RejectNegative Joined
333 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
335 fmax-array-constructor=
336 Fortran RejectNegative Joined UInteger
337 -fmax-array-constructor=<n> Maximum number of objects in an array constructor
340 Fortran RejectNegative Joined UInteger
341 -fmax-errors=<n> Maximum number of errors to report
343 fmax-identifier-length=
344 Fortran RejectNegative Joined UInteger
345 -fmax-identifier-length=<n> Maximum identifier length
347 fmax-subrecord-length=
348 Fortran RejectNegative Joined UInteger
349 -fmax-subrecord-length=<n> Maximum length for subrecords
352 Fortran RejectNegative Joined UInteger
353 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack
357 Set default accessibility of module entities to PRIVATE.
365 Try to lay out derived types as compactly as possible
373 Protect parentheses in expressions
377 Enable range checking during compilation
380 Fortran RejectNegative
381 Use a 4-byte record marker for unformatted files
384 Fortran RejectNegative
385 Use an 8-byte record marker for unformatted files
389 Allocate local variables on the stack to allow indirect recursion
393 Copy array sections into a contiguous block on procedure entry
396 Fortran RejectNegative JoinedOrMissing
397 -fcoarray=[...] Specify which coarray parallelization should be used
400 Fortran RejectNegative JoinedOrMissing
401 -fcheck=[...] Specify which runtime checks are to be performed
405 Append a second underscore if the name already contains an underscore
408 Fortran Var(flag_short_enums) VarExists
413 Apply negative sign to zero values
417 Append underscores to externally visible names
421 Compile all program units at once and check all interfaces
428 Fortran Joined Separate
432 Fortran Joined Separate
436 Fortran Joined Separate
440 Fortran Joined Separate
444 Fortran Joined Separate
448 Fortran Joined Separate
456 Fortran Joined Separate
457 ; Documented in common.opt
461 Statically link the GNU Fortran helper library (libgfortran)
465 Conform to the ISO Fortran 2003 standard
469 Conform to the ISO Fortran 2008 standard
473 Conform to the ISO Fortran 95 standard
477 Conform to nothing in particular
481 Accept extensions to support legacy code
491 ; This comment is to ensure we retain the blank line above.