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