Check in tree-dce enh to trunk
[official-gcc.git] / gcc / fortran / lang.opt
bloba3761925f0107a73402f786e3f0b76abb1d1f0d8
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
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
10 ; version.
11
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
15 ; for more details.
16
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.
25 Language
26 Fortran
29 Fortran Joined Separate
30 -I<directory>   Add a directory for INCLUDE and MODULE searching
33 Fortran Joined Separate
34 -J<directory>   Put MODULE files in 'directory'
36 Wall
37 Fortran
38 ; Documented in C
40 Waliasing
41 Fortran Warning
42 Warn about possible aliasing of dummy arguments
44 Wampersand
45 Fortran Warning
46 Warn about missing ampersand in continued character constants
48 Wcharacter-truncation
49 Fortran Warning
50 Warn about truncated character expressions
52 Wconversion
53 Fortran Warning
54 Warn about implicit conversion
56 Wimplicit-interface
57 Fortran Warning
58 Warn about calls with implicit interface
60 Wline-truncation
61 Fortran Warning
62 Warn about truncated source lines
64 Wnonstd-intrinsics
65 Fortran Warning
66 Warn about usage of non-standard intrinsics
68 Wreturn-type
69 Fortran Warning
70 ; Documented in C
72 Wsurprising
73 Fortran Warning
74 Warn about \"suspicious\" constructs
76 Wtabs
77 Fortran Warning
78 Permit nonconforming uses of the tab character
80 Wunderflow
81 Fortran Warning
82 Warn about underflow of numerical constant expressions
84 fall-intrinsics
85 Fortran RejectNegative
86 All intrinsics procedures are available regardless of selected standard
88 fallow-leading-underscore
89 Fortran Undocumented
90 ; For internal use only: allow the first character of symbol names to be an underscore
92 fautomatic
93 Fortran
94 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
96 fbackslash
97 Fortran
98 Specify that backslash in string introduces an escape character
100 fbacktrace
101 Fortran
102 Produce a backtrace when a runtime error is encountered
104 fblas-matmul-limit=
105 Fortran RejectNegative Joined UInteger
106 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
108 fconvert=big-endian
109 Fortran RejectNegative
110 Use big-endian format for unformatted files
112 fconvert=little-endian
113 Fortran RejectNegative
114 Use little-endian format for unformatted files
116 fconvert=native
117 Fortran RejectNegative
118 Use native format for unformatted files
120 fconvert=swap
121 Fortran RejectNegative
122 Swap endianness for unformatted files
124 fcray-pointer
125 Fortran
126 Use the Cray Pointer extension
128 fd-lines-as-code
129 Fortran RejectNegative
130 Ignore 'D' in column one in fixed form
132 fd-lines-as-comments
133 Fortran RejectNegative
134 Treat lines with 'D' in column one as comments
136 fdefault-double-8
137 Fortran
138 Set the default double precision kind to an 8 byte wide type
140 fdefault-integer-8
141 Fortran
142 Set the default integer kind to an 8 byte wide type
144 fdefault-real-8
145 Fortran
146 Set the default real kind to an 8 byte wide type
148 fdollar-ok
149 Fortran
150 Allow dollar signs in entity names
152 fdump-core
153 Fortran
154 Dump a core file when a runtime error occurs
156 fdump-parse-tree
157 Fortran
158 Display the code tree after parsing
160 fexternal-blas
161 Fortran
162 Specify that an external BLAS library should be used for matmul calls on large-size arrays
164 ff2c
165 Fortran
166 Use f2c calling convention
168 ffixed-form
169 Fortran RejectNegative
170 Assume that the source file is fixed form
172 fintrinsic-modules-path
173 Fortran RejectNegative Joined Separate
174 Specify where to find the compiled intrinsic modules
176 ffixed-line-length-none
177 Fortran RejectNegative
178 Allow arbitrary character line width in fixed mode
180 ffixed-line-length-
181 Fortran RejectNegative Joined UInteger
182 -ffixed-line-length-<n>         Use n as character line width in fixed mode
184 ffpe-trap=
185 Fortran RejectNegative JoinedOrMissing
186 -ffpe-trap=[..] Stop on following floating point exceptions
188 ffree-form
189 Fortran RejectNegative
190 Assume that the source file is free form
192 ffree-line-length-none
193 Fortran RejectNegative
194 Allow arbitrary character line width in free mode
196 ffree-line-length-
197 Fortran RejectNegative Joined UInteger
198 -ffree-line-length-<n>          Use n as character line width in free mode
200 fimplicit-none
201 Fortran
202 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
204 finit-character=
205 Fortran RejectNegative Joined UInteger
206 -finit-character=<n> Initialize local character variables to ASCII value n
208 finit-integer=
209 Fortran RejectNegative Joined
210 -finit-integer=<n> Initialize local integer variables to n
212 finit-local-zero
213 Fortran
214 Initialize local variables to zero (from g77)
216 finit-logical=
217 Fortran RejectNegative Joined
218 -finit-logical=<true|false> Initialize local logical variables
220 finit-real=
221 Fortran RejectNegative Joined
222 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
224 fmax-errors=
225 Fortran RejectNegative Joined UInteger
226 -fmax-errors=<n>        Maximum number of errors to report
228 fmax-identifier-length=
229 Fortran RejectNegative Joined UInteger
230 -fmax-identifier-length=<n>     Maximum identifier length
232 fmax-subrecord-length=
233 Fortran RejectNegative Joined UInteger
234 -fmax-subrecord-length=<n>      Maximum length for subrecords
236 fmax-stack-var-size=
237 Fortran RejectNegative Joined UInteger
238 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
240 fmodule-private
241 Fortran
242 Set default accessibility of module entities to PRIVATE.
244 fopenmp
245 Fortran
246 Enable OpenMP (also sets frecursive)
248 fpack-derived
249 Fortran
250 Try to lay out derived types as compactly as possible
252 fpreprocessed
253 Fortran
254 Treat the input file as preprocessed
256 frange-check
257 Fortran
258 Enable range checking during compilation
260 frecord-marker=4
261 Fortran RejectNegative
262 Use a 4-byte record marker for unformatted files
264 frecord-marker=8
265 Fortran RejectNegative
266 Use an 8-byte record marker for unformatted files
268 frecursive
269 Fortran
270 Allocate local variables on the stack to allow indirect recursion
272 frepack-arrays
273 Fortran
274 Copy array sections into a contiguous block on procedure entry
276 fsecond-underscore
277 Fortran
278 Append a second underscore if the name already contains an underscore
280 fshort-enums
281 Fortran
282 Use the narrowest integer type possible for enumeration types
284 fsign-zero
285 Fortran
286 Apply negative sign to zero values
288 funderscoring
289 Fortran
290 Append underscores to externally visible names
292 static-libgfortran
293 Fortran
294 Statically link the GNU Fortran helper library (libgfortran)
296 std=f2003
297 Fortran
298 Conform to the ISO Fortran 2003 standard
300 std=f2008
301 Fortran
302 Conform to the ISO Fortran 2008 standard
304 std=f95
305 Fortran
306 Conform to the ISO Fortran 95 standard
308 std=gnu
309 Fortran
310 Conform to nothing in particular
312 std=legacy
313 Fortran
314 Accept extensions to support legacy code
316 ; This comment is to ensure we retain the blank line above.