2011-04-04 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / gcc / fortran / lang.opt
blob9de70aca04a5f184617cad2a114371a8d7eace04
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
28 -all-warnings
29 Fortran Alias(Wall)
31 -assert
32 Fortran Separate Alias(A)
34 -assert=
35 Fortran Joined Alias(A)
37 -comments
38 Fortran Alias(C)
40 -comments-in-macros
41 Fortran Alias(CC)
43 -define-macro
44 Fortran Separate Alias(D)
46 -define-macro=
47 Fortran Joined Alias(D)
49 -dependencies
50 Fortran Alias(M)
52 -dump
53 Fortran Separate Alias(d)
55 -dump=
56 Fortran Joined Alias(d)
58 -include-barrier
59 Fortran Alias(I, -)
61 -include-directory
62 Fortran Separate Alias(I)
64 -include-directory=
65 Fortran Joined Alias(I)
67 -include-directory-after
68 Fortran Separate Alias(idirafter)
70 -include-directory-after=
71 Fortran Joined Alias(idirafter)
73 -include-prefix
74 Fortran Separate Alias(iprefix)
76 -include-prefix=
77 Fortran JoinedOrMissing Alias(iprefix)
79 -no-line-commands
80 Fortran Alias(P)
82 -no-standard-includes
83 Fortran Alias(nostdinc)
85 -output
86 Fortran Separate Alias(o)
88 -output=
89 Fortran Joined Alias(o)
91 -preprocess
92 Fortran Undocumented Alias(E)
94 -print-missing-file-dependencies
95 Fortran Alias(MG)
97 -trace-includes
98 Fortran Alias(H)
100 -undefine-macro
101 Fortran Separate Alias(U)
103 -undefine-macro=
104 Fortran Joined Alias(U)
106 -user-dependencies
107 Fortran Alias(MM)
109 -verbose
110 Fortran Alias(v)
112 -write-dependencies
113 Fortran NoDriverArg Separate Alias(MD)
115 -write-user-dependencies
116 Fortran NoDriverArg Separate Alias(MMD)
119 Fortran Joined Separate
120 ; Documented in C
123 Fortran
124 ; Documented in C
127 Fortran
128 ; Documented in C
131 Fortran Joined Separate
132 ; Documented in C
135 Fortran Undocumented
138 Fortran
139 ; Documented in C
142 Fortran Joined Separate
143 ; Documented in C
146 Fortran Joined Separate
147 -J<directory>   Put MODULE files in 'directory'
150 Fortran
151 ; Documented in C
154 Fortran Separate NoDriverArg
155 ; Documented in C
158 Fortran Joined Separate
159 ; Documented in C
162 Fortran
163 ; Documented in C
166 Fortran
167 ; Documented in C
170 Fortran Separate NoDriverArg
171 ; Documented in C
174 Fortran
175 ; Documented in C
178 Fortran Joined Separate
179 ; Documented in C
182 Fortran Joined Separate
183 ; Documented in C
186 Fortran
187 ; Documented in C
190 Fortran Joined Separate
191 ; Documented in C
193 Wall
194 Fortran
195 ; Documented in C
197 Waliasing
198 Fortran Warning
199 Warn about possible aliasing of dummy arguments
201 Walign-commons
202 Fortran Warning
203 Warn about alignment of COMMON blocks
205 Wampersand
206 Fortran Warning
207 Warn about missing ampersand in continued character constants
209 Warray-temporaries
210 Fortran Warning
211 Warn about creation of array temporaries
213 Wcharacter-truncation
214 Fortran Warning
215 Warn about truncated character expressions
217 Wconversion
218 Fortran Warning
219 ; Documented in C
221 Wconversion-extra
222 Fortran Warning
223 Warn about most implicit conversions
225 Wimplicit-interface
226 Fortran Warning
227 Warn about calls with implicit interface
229 Wimplicit-procedure
230 Fortran Warning
231 Warn about called procedures not explicitly declared
233 Wline-truncation
234 Fortran Warning
235 Warn about truncated source lines
237 Wintrinsics-std
238 Fortran Warning
239 Warn on intrinsics not part of the selected standard
241 Wreturn-type
242 Fortran Warning
243 ; Documented in C
245 Wsurprising
246 Fortran Warning
247 Warn about \"suspicious\" constructs
249 Wtabs
250 Fortran Warning
251 Permit nonconforming uses of the tab character
253 Wunderflow
254 Fortran Warning
255 Warn about underflow of numerical constant expressions
257 Wintrinsic-shadow
258 Fortran Warning
259 Warn if a user-procedure has the same name as an intrinsic
261 Wunused-dummy-argument
262 Fortran Warning
263 Warn about unused dummy arguments.
266 Fortran Negative(nocpp)
267 Enable preprocessing
269 cpp=
270 Fortran Joined Negative(nocpp) Undocumented
271 ; Internal option generated by specs from -cpp.
273 nocpp
274 Fortran Negative(cpp)
275 Disable preprocessing
278 Fortran Joined
279 ; Documented in common.opt
281 faggressive-function-elimination
282 Fortran
283 Eliminate multiple function invokations also for impure functions
285 falign-commons
286 Fortran
287 Enable alignment of COMMON blocks
289 fall-intrinsics
290 Fortran RejectNegative
291 All intrinsics procedures are available regardless of selected standard
293 fallow-leading-underscore
294 Fortran Undocumented
295 ; For internal use only: allow the first character of symbol names to be an underscore
297 fautomatic
298 Fortran
299 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
301 fbackslash
302 Fortran
303 Specify that backslash in string introduces an escape character
305 fbacktrace
306 Fortran
307 Produce a backtrace when a runtime error is encountered
309 fblas-matmul-limit=
310 Fortran RejectNegative Joined UInteger
311 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
313 fcheck-array-temporaries
314 Fortran
315 Produce a warning at runtime if a array temporary has been created for a procedure argument
317 fconvert=big-endian
318 Fortran RejectNegative
319 Use big-endian format for unformatted files
321 fconvert=little-endian
322 Fortran RejectNegative
323 Use little-endian format for unformatted files
325 fconvert=native
326 Fortran RejectNegative
327 Use native format for unformatted files
329 fconvert=swap
330 Fortran RejectNegative
331 Swap endianness for unformatted files
333 fcray-pointer
334 Fortran
335 Use the Cray Pointer extension
337 fd-lines-as-code
338 Fortran RejectNegative
339 Ignore 'D' in column one in fixed form
341 fd-lines-as-comments
342 Fortran RejectNegative
343 Treat lines with 'D' in column one as comments
345 fdefault-double-8
346 Fortran
347 Set the default double precision kind to an 8 byte wide type
349 fdefault-integer-8
350 Fortran
351 Set the default integer kind to an 8 byte wide type
353 fdefault-real-8
354 Fortran
355 Set the default real kind to an 8 byte wide type
357 fdollar-ok
358 Fortran
359 Allow dollar signs in entity names
361 fdump-core
362 Fortran
363 Dump a core file when a runtime error occurs
365 fdump-fortran-original
366 Fortran
367 Display the code tree after parsing
369 fdump-fortran-optimized
370 Fortran
371 Display the code tree after front end optimization
373 fdump-parse-tree
374 Fortran
375 Display the code tree after parsing; deprecated option
377 fexternal-blas
378 Fortran
379 Specify that an external BLAS library should be used for matmul calls on large-size arrays
381 ff2c
382 Fortran
383 Use f2c calling convention
385 ffixed-form
386 Fortran RejectNegative
387 Assume that the source file is fixed form
389 fintrinsic-modules-path
390 Fortran RejectNegative Joined Separate
391 Specify where to find the compiled intrinsic modules
393 ffixed-line-length-none
394 Fortran RejectNegative
395 Allow arbitrary character line width in fixed mode
397 ffixed-line-length-
398 Fortran RejectNegative Joined UInteger
399 -ffixed-line-length-<n> Use n as character line width in fixed mode
401 ffpe-trap=
402 Fortran RejectNegative JoinedOrMissing
403 -ffpe-trap=[...]        Stop on following floating point exceptions
405 ffree-form
406 Fortran RejectNegative
407 Assume that the source file is free form
409 ffree-line-length-none
410 Fortran RejectNegative
411 Allow arbitrary character line width in free mode
413 ffree-line-length-
414 Fortran RejectNegative Joined UInteger
415 -ffree-line-length-<n>  Use n as character line width in free mode
417 fimplicit-none
418 Fortran
419 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
421 finit-character=
422 Fortran RejectNegative Joined UInteger
423 -finit-character=<n>    Initialize local character variables to ASCII value n
425 finit-integer=
426 Fortran RejectNegative Joined
427 -finit-integer=<n>      Initialize local integer variables to n
429 finit-local-zero
430 Fortran
431 Initialize local variables to zero (from g77)
433 finit-logical=
434 Fortran RejectNegative Joined
435 -finit-logical=<true|false>     Initialize local logical variables
437 finit-real=
438 Fortran RejectNegative Joined
439 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
441 fmax-array-constructor=
442 Fortran RejectNegative Joined UInteger
443 -fmax-array-constructor=<n>     Maximum number of objects in an array constructor
445 fmax-identifier-length=
446 Fortran RejectNegative Joined UInteger
447 -fmax-identifier-length=<n>     Maximum identifier length
449 fmax-subrecord-length=
450 Fortran RejectNegative Joined UInteger
451 -fmax-subrecord-length=<n>      Maximum length for subrecords
453 fmax-stack-var-size=
454 Fortran RejectNegative Joined UInteger
455 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
457 fmodule-private
458 Fortran
459 Set default accessibility of module entities to PRIVATE.
461 fopenmp
462 Fortran
463 ; Documented in C
465 fpack-derived
466 Fortran
467 Try to lay out derived types as compactly as possible
469 fpreprocessed
470 Fortran
471 ; Documented in C
473 fprotect-parens
474 Fortran
475 Protect parentheses in expressions
477 frange-check
478 Fortran
479 Enable range checking during compilation
481 frealloc-lhs
482 Fortran
483 Reallocate the LHS in assignments
485 frecord-marker=4
486 Fortran RejectNegative
487 Use a 4-byte record marker for unformatted files
489 frecord-marker=8
490 Fortran RejectNegative
491 Use an 8-byte record marker for unformatted files
493 frecursive
494 Fortran
495 Allocate local variables on the stack to allow indirect recursion
497 frepack-arrays
498 Fortran
499 Copy array sections into a contiguous block on procedure entry
501 fcoarray=
502 Fortran RejectNegative JoinedOrMissing
503 -fcoarray=[...] Specify which coarray parallelization should be used
505 fcheck=
506 Fortran RejectNegative JoinedOrMissing
507 -fcheck=[...]   Specify which runtime checks are to be performed
509 fsecond-underscore
510 Fortran
511 Append a second underscore if the name already contains an underscore
513 fshort-enums
514 Fortran Var(flag_short_enums)
515 ; Documented in C
517 fsign-zero
518 Fortran
519 Apply negative sign to zero values
521 funderscoring
522 Fortran
523 Append underscores to externally visible names
525 fwhole-file
526 Fortran
527 Compile all program units at once and check all interfaces
529 fworking-directory
530 Fortran
531 ; Documented in C
533 idirafter
534 Fortran Joined Separate
535 ; Documented in C
537 imultilib
538 Fortran Joined Separate
539 ; Documented in C
541 iprefix
542 Fortran Joined Separate
543 ; Documented in C
545 iquote
546 Fortran Joined Separate
547 ; Documented in C
549 isysroot
550 Fortran Joined Separate
551 ; Documented in C
553 isystem
554 Fortran Joined Separate
555 ; Documented in C
557 nostdinc
558 Fortran
559 ; Documented in C
562 Fortran Joined Separate
563 ; Documented in common.opt
565 static-libgfortran
566 Fortran
567 Statically link the GNU Fortran helper library (libgfortran)
569 std=f2003
570 Fortran
571 Conform to the ISO Fortran 2003 standard
573 std=f2008
574 Fortran
575 Conform to the ISO Fortran 2008 standard
577 std=f95
578 Fortran
579 Conform to the ISO Fortran 95 standard
581 std=gnu
582 Fortran
583 Conform to nothing in particular
585 std=legacy
586 Fortran
587 Accept extensions to support legacy code
589 undef
590 Fortran
591 ; Documented in C
594 Fortran
595 ; Documented in C
597 ; This comment is to ensure we retain the blank line above.