2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / fortran / lang.opt
blobf0f6c6a756d54814a401ba64cdc805d75b99bf83
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 ; Documented in C
33 Fortran
34 ; Documented in C
37 Fortran
38 ; Documented in C
41 Fortran Joined Separate
42 ; Documented in C
45 Fortran Undocumented
48 Fortran
49 ; Documented in C
52 Fortran Joined Separate
53 -I<directory>   Add a directory for INCLUDE and MODULE searching
56 Fortran Joined Separate
57 -J<directory>   Put MODULE files in 'directory'
60 Fortran
61 ; Documented in C
64 Fortran Joined Separate
65 ; Documented in C
67 Wall
68 Fortran
69 ; Documented in C
71 Waliasing
72 Fortran Warning
73 Warn about possible aliasing of dummy arguments
75 Wampersand
76 Fortran Warning
77 Warn about missing ampersand in continued character constants
79 Wcharacter-truncation
80 Fortran Warning
81 Warn about truncated character expressions
83 Wconversion
84 Fortran Warning
85 Warn about implicit conversion
87 Wimplicit-interface
88 Fortran Warning
89 Warn about calls with implicit interface
91 Wline-truncation
92 Fortran Warning
93 Warn about truncated source lines
95 Wnonstd-intrinsics
96 Fortran Warning
97 Warn about usage of non-standard intrinsics
99 Wreturn-type
100 Fortran Warning
101 ; Documented in C
103 Wsurprising
104 Fortran Warning
105 Warn about \"suspicious\" constructs
107 Wtabs
108 Fortran Warning
109 Permit nonconforming uses of the tab character
111 Wunderflow
112 Fortran Warning
113 Warn about underflow of numerical constant expressions
116 Fortran Joined Separate Negative(nocpp)
117 Enable preprocessing
119 nocpp
120 Fortran Negative(cpp)
121 Disable preprocessing
124 Fortran Joined
125 -d[DIMNU]       Dump details about macro names and definitions during preprocessing
127 fall-intrinsics
128 Fortran RejectNegative
129 All intrinsics procedures are available regardless of selected standard
131 fallow-leading-underscore
132 Fortran Undocumented
133 ; For internal use only: allow the first character of symbol names to be an underscore
135 fautomatic
136 Fortran
137 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
139 fbackslash
140 Fortran
141 Specify that backslash in string introduces an escape character
143 fbacktrace
144 Fortran
145 Produce a backtrace when a runtime error is encountered
147 fblas-matmul-limit=
148 Fortran RejectNegative Joined UInteger
149 -fblas-matmul-limit=<n>        Size of the smallest matrix for which matmul will use BLAS
151 fconvert=big-endian
152 Fortran RejectNegative
153 Use big-endian format for unformatted files
155 fconvert=little-endian
156 Fortran RejectNegative
157 Use little-endian format for unformatted files
159 fconvert=native
160 Fortran RejectNegative
161 Use native format for unformatted files
163 fconvert=swap
164 Fortran RejectNegative
165 Swap endianness for unformatted files
167 fcray-pointer
168 Fortran
169 Use the Cray Pointer extension
171 fd-lines-as-code
172 Fortran RejectNegative
173 Ignore 'D' in column one in fixed form
175 fd-lines-as-comments
176 Fortran RejectNegative
177 Treat lines with 'D' in column one as comments
179 fdefault-double-8
180 Fortran
181 Set the default double precision kind to an 8 byte wide type
183 fdefault-integer-8
184 Fortran
185 Set the default integer kind to an 8 byte wide type
187 fdefault-real-8
188 Fortran
189 Set the default real kind to an 8 byte wide type
191 fdollar-ok
192 Fortran
193 Allow dollar signs in entity names
195 fdump-core
196 Fortran
197 Dump a core file when a runtime error occurs
199 fdump-parse-tree
200 Fortran
201 Display the code tree after parsing
203 fexternal-blas
204 Fortran
205 Specify that an external BLAS library should be used for matmul calls on large-size arrays
207 ff2c
208 Fortran
209 Use f2c calling convention
211 ffixed-form
212 Fortran RejectNegative
213 Assume that the source file is fixed form
215 fintrinsic-modules-path
216 Fortran RejectNegative Joined Separate
217 Specify where to find the compiled intrinsic modules
219 ffixed-line-length-none
220 Fortran RejectNegative
221 Allow arbitrary character line width in fixed mode
223 ffixed-line-length-
224 Fortran RejectNegative Joined UInteger
225 -ffixed-line-length-<n>         Use n as character line width in fixed mode
227 ffpe-trap=
228 Fortran RejectNegative JoinedOrMissing
229 -ffpe-trap=[..] Stop on following floating point exceptions
231 ffree-form
232 Fortran RejectNegative
233 Assume that the source file is free form
235 ffree-line-length-none
236 Fortran RejectNegative
237 Allow arbitrary character line width in free mode
239 ffree-line-length-
240 Fortran RejectNegative Joined UInteger
241 -ffree-line-length-<n>          Use n as character line width in free mode
243 fimplicit-none
244 Fortran
245 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
247 finit-character=
248 Fortran RejectNegative Joined UInteger
249 -finit-character=<n> Initialize local character variables to ASCII value n
251 finit-integer=
252 Fortran RejectNegative Joined
253 -finit-integer=<n> Initialize local integer variables to n
255 finit-local-zero
256 Fortran
257 Initialize local variables to zero (from g77)
259 finit-logical=
260 Fortran RejectNegative Joined
261 -finit-logical=<true|false> Initialize local logical variables
263 finit-real=
264 Fortran RejectNegative Joined
265 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
267 fmax-errors=
268 Fortran RejectNegative Joined UInteger
269 -fmax-errors=<n>        Maximum number of errors to report
271 fmax-identifier-length=
272 Fortran RejectNegative Joined UInteger
273 -fmax-identifier-length=<n>     Maximum identifier length
275 fmax-subrecord-length=
276 Fortran RejectNegative Joined UInteger
277 -fmax-subrecord-length=<n>      Maximum length for subrecords
279 fmax-stack-var-size=
280 Fortran RejectNegative Joined UInteger
281 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
283 fmodule-private
284 Fortran
285 Set default accessibility of module entities to PRIVATE.
287 fopenmp
288 Fortran
289 Enable OpenMP (also sets frecursive)
291 fpack-derived
292 Fortran
293 Try to lay out derived types as compactly as possible
295 fpreprocessed
296 Fortran
297 Treat the input file as preprocessed
299 frange-check
300 Fortran
301 Enable range checking during compilation
303 frecord-marker=4
304 Fortran RejectNegative
305 Use a 4-byte record marker for unformatted files
307 frecord-marker=8
308 Fortran RejectNegative
309 Use an 8-byte record marker for unformatted files
311 frecursive
312 Fortran
313 Allocate local variables on the stack to allow indirect recursion
315 frepack-arrays
316 Fortran
317 Copy array sections into a contiguous block on procedure entry
319 fsecond-underscore
320 Fortran
321 Append a second underscore if the name already contains an underscore
323 fshort-enums
324 Fortran
325 Use the narrowest integer type possible for enumeration types
327 fsign-zero
328 Fortran
329 Apply negative sign to zero values
331 funderscoring
332 Fortran
333 Append underscores to externally visible names
335 fworking-directory
336 Fortran
337 ; Documented in C
339 imultilib
340 Fortran Joined Separate
341 ; Documented in C
343 iprefix
344 Fortran Joined Separate
345 ; Documented in C
347 iquote
348 Fortran Joined Separate
349 ; Documented in C
351 isysroot
352 Fortran Joined Separate
353 ; Documented in C
355 isystem
356 Fortran Joined Separate
357 ; Documented in C
359 nostdinc
360 Fortran
361 ; Documented in C
364 Fortran Joined Separate
365 ; Documented in common.opt
367 static-libgfortran
368 Fortran
369 Statically link the GNU Fortran helper library (libgfortran)
371 std=f2003
372 Fortran
373 Conform to the ISO Fortran 2003 standard
375 std=f2008
376 Fortran
377 Conform to the ISO Fortran 2008 standard
379 std=f95
380 Fortran
381 Conform to the ISO Fortran 95 standard
383 std=gnu
384 Fortran
385 Conform to nothing in particular
387 std=legacy
388 Fortran
389 Accept extensions to support legacy code
391 undef
392 Fortran
393 ; Documented in C
396 Fortran
397 ; Documented in C
399 ; This comment is to ensure we retain the blank line above.