2012-08-20 Tobias Burnus <burnus@net-b.de>
[official-gcc.git] / gcc / fortran / lang.opt
blobb38b1e8bea19d47b1e97f1b2642374d01decf4f7
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
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 Wc-binding-type
214 Fortran Warning
215 Warn if the type of a variable might be not interoperable with C
217 Wcharacter-truncation
218 Fortran Warning
219 Warn about truncated character expressions
221 Wcompare-reals
222 Fortran Warning
223 Warn about equality comparisons involving REAL or COMPLEX expressions
225 Wconversion
226 Fortran Warning
227 ; Documented in C
229 Wconversion-extra
230 Fortran Warning
231 Warn about most implicit conversions
233 Wfunction-elimination
234 Fortran Warning
235 Warn about function call elimination
237 Wimplicit-interface
238 Fortran Warning
239 Warn about calls with implicit interface
241 Wimplicit-procedure
242 Fortran Warning
243 Warn about called procedures not explicitly declared
245 Wline-truncation
246 Fortran Warning
247 Warn about truncated source lines
249 Wintrinsics-std
250 Fortran Warning
251 Warn on intrinsics not part of the selected standard
253 Wreal-q-constant
254 Fortran Warning
255 Warn about real-literal-constants with 'q' exponent-letter
257 Wrealloc-lhs
258 Fortran Warning
259 Warn when a left-hand-side array variable is reallocated
261 Wrealloc-lhs-all
262 Fortran Warning
263 Warn when a left-hand-side variable is reallocated
265 Wtarget-lifetime
266 Fortran Warning
267 Warn if the pointer in a pointer assignment might outlive its target
269 Wreturn-type
270 Fortran Warning
271 ; Documented in C
273 Wsurprising
274 Fortran Warning
275 Warn about \"suspicious\" constructs
277 Wtabs
278 Fortran Warning
279 Permit nonconforming uses of the tab character
281 Wunderflow
282 Fortran Warning
283 Warn about underflow of numerical constant expressions
285 Wintrinsic-shadow
286 Fortran Warning
287 Warn if a user-procedure has the same name as an intrinsic
289 Wunused-dummy-argument
290 Fortran Warning
291 Warn about unused dummy arguments.
294 Fortran Negative(nocpp)
295 Enable preprocessing
297 cpp=
298 Fortran Joined Negative(nocpp) Undocumented
299 ; Internal option generated by specs from -cpp.
301 nocpp
302 Fortran Negative(cpp)
303 Disable preprocessing
306 Fortran Joined
307 ; Documented in common.opt
309 faggressive-function-elimination
310 Fortran
311 Eliminate multiple function invokations also for impure functions
313 falign-commons
314 Fortran
315 Enable alignment of COMMON blocks
317 fall-intrinsics
318 Fortran RejectNegative
319 All intrinsics procedures are available regardless of selected standard
321 fallow-leading-underscore
322 Fortran Undocumented
323 ; For internal use only: allow the first character of symbol names to be an underscore
325 fautomatic
326 Fortran
327 Do not treat local variables and COMMON blocks as if they were named in SAVE statements
329 fbackslash
330 Fortran
331 Specify that backslash in string introduces an escape character
333 fbacktrace
334 Fortran
335 Produce a backtrace when a runtime error is encountered
337 fblas-matmul-limit=
338 Fortran RejectNegative Joined UInteger
339 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS
341 fcheck-array-temporaries
342 Fortran
343 Produce a warning at runtime if a array temporary has been created for a procedure argument
345 fconvert=big-endian
346 Fortran RejectNegative
347 Use big-endian format for unformatted files
349 fconvert=little-endian
350 Fortran RejectNegative
351 Use little-endian format for unformatted files
353 fconvert=native
354 Fortran RejectNegative
355 Use native format for unformatted files
357 fconvert=swap
358 Fortran RejectNegative
359 Swap endianness for unformatted files
361 fcray-pointer
362 Fortran
363 Use the Cray Pointer extension
365 fd-lines-as-code
366 Fortran RejectNegative
367 Ignore 'D' in column one in fixed form
369 fd-lines-as-comments
370 Fortran RejectNegative
371 Treat lines with 'D' in column one as comments
373 fdefault-double-8
374 Fortran
375 Set the default double precision kind to an 8 byte wide type
377 fdefault-integer-8
378 Fortran
379 Set the default integer kind to an 8 byte wide type
381 fdefault-real-8
382 Fortran
383 Set the default real kind to an 8 byte wide type
385 fdollar-ok
386 Fortran
387 Allow dollar signs in entity names
389 fdump-core
390 Fortran Ignore
391 Does nothing. Preserved for backward compatibility.
393 fdump-fortran-original
394 Fortran
395 Display the code tree after parsing
397 fdump-fortran-optimized
398 Fortran
399 Display the code tree after front end optimization
401 fdump-parse-tree
402 Fortran
403 Display the code tree after parsing; deprecated option
405 fexternal-blas
406 Fortran
407 Specify that an external BLAS library should be used for matmul calls on large-size arrays
409 ff2c
410 Fortran
411 Use f2c calling convention
413 ffixed-form
414 Fortran RejectNegative
415 Assume that the source file is fixed form
417 finteger-4-integer-8
418 Fortran RejectNegative
419 Interpret any INTEGER(4) as an INTEGER(8)
421 fintrinsic-modules-path
422 Fortran RejectNegative Joined Separate
423 Specify where to find the compiled intrinsic modules
425 ffixed-line-length-none
426 Fortran RejectNegative
427 Allow arbitrary character line width in fixed mode
429 ffixed-line-length-
430 Fortran RejectNegative Joined UInteger
431 -ffixed-line-length-<n> Use n as character line width in fixed mode
433 ffpe-trap=
434 Fortran RejectNegative JoinedOrMissing
435 -ffpe-trap=[...]        Stop on following floating point exceptions
437 ffree-form
438 Fortran RejectNegative
439 Assume that the source file is free form
441 ffree-line-length-none
442 Fortran RejectNegative
443 Allow arbitrary character line width in free mode
445 ffree-line-length-
446 Fortran RejectNegative Joined UInteger
447 -ffree-line-length-<n>  Use n as character line width in free mode
449 ffrontend-optimize
450 Fortran
451 Enable front end optimization
453 fimplicit-none
454 Fortran
455 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements
457 finit-character=
458 Fortran RejectNegative Joined UInteger
459 -finit-character=<n>    Initialize local character variables to ASCII value n
461 finit-integer=
462 Fortran RejectNegative Joined
463 -finit-integer=<n>      Initialize local integer variables to n
465 finit-local-zero
466 Fortran
467 Initialize local variables to zero (from g77)
469 finit-logical=
470 Fortran RejectNegative Joined
471 -finit-logical=<true|false>     Initialize local logical variables
473 finit-real=
474 Fortran RejectNegative Joined
475 -finit-real=<zero|nan|inf|-inf> Initialize local real variables
477 fmax-array-constructor=
478 Fortran RejectNegative Joined UInteger
479 -fmax-array-constructor=<n>     Maximum number of objects in an array constructor
481 fmax-identifier-length=
482 Fortran RejectNegative Joined UInteger
483 -fmax-identifier-length=<n>     Maximum identifier length
485 fmax-subrecord-length=
486 Fortran RejectNegative Joined UInteger
487 -fmax-subrecord-length=<n>      Maximum length for subrecords
489 fmax-stack-var-size=
490 Fortran RejectNegative Joined UInteger
491 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack
493 fstack-arrays
494 Fortran
495 Put all local arrays on stack.
497 fmodule-private
498 Fortran
499 Set default accessibility of module entities to PRIVATE.
501 fopenmp
502 Fortran
503 ; Documented in C
505 fpack-derived
506 Fortran
507 Try to lay out derived types as compactly as possible
509 fpreprocessed
510 Fortran
511 ; Documented in C
513 fprotect-parens
514 Fortran
515 Protect parentheses in expressions
517 frange-check
518 Fortran
519 Enable range checking during compilation
521 freal-4-real-8
522 Fortran RejectNegative
523 Interpret any REAL(4) as a REAL(8)
525 freal-4-real-10
526 Fortran RejectNegative
527 Interpret any REAL(4) as a REAL(10)
529 freal-4-real-16
530 Fortran RejectNegative
531 Interpret any REAL(4) as a REAL(16)
533 freal-8-real-4
534 Fortran RejectNegative
535 Interpret any REAL(8) as a REAL(4)
537 freal-8-real-10
538 Fortran RejectNegative
539 Interpret any REAL(8) as a REAL(10)
541 freal-8-real-16
542 Fortran RejectNegative
543 Interpret any REAL(8) as a REAL(16)
545 frealloc-lhs
546 Fortran
547 Reallocate the LHS in assignments
549 frecord-marker=4
550 Fortran RejectNegative
551 Use a 4-byte record marker for unformatted files
553 frecord-marker=8
554 Fortran RejectNegative
555 Use an 8-byte record marker for unformatted files
557 frecursive
558 Fortran
559 Allocate local variables on the stack to allow indirect recursion
561 frepack-arrays
562 Fortran
563 Copy array sections into a contiguous block on procedure entry
565 fcoarray=
566 Fortran RejectNegative JoinedOrMissing
567 -fcoarray=[...] Specify which coarray parallelization should be used
569 fcheck=
570 Fortran RejectNegative JoinedOrMissing
571 -fcheck=[...]   Specify which runtime checks are to be performed
573 fsecond-underscore
574 Fortran
575 Append a second underscore if the name already contains an underscore
577 fshort-enums
578 Fortran Var(flag_short_enums)
579 ; Documented in C
581 fsign-zero
582 Fortran
583 Apply negative sign to zero values
585 funderscoring
586 Fortran
587 Append underscores to externally visible names
589 fwhole-file
590 Fortran
591 Compile all program units at once and check all interfaces
593 fworking-directory
594 Fortran
595 ; Documented in C
597 idirafter
598 Fortran Joined Separate
599 ; Documented in C
601 imultilib
602 Fortran Joined Separate
603 ; Documented in C
605 iprefix
606 Fortran Joined Separate
607 ; Documented in C
609 iquote
610 Fortran Joined Separate
611 ; Documented in C
613 isysroot
614 Fortran Joined Separate
615 ; Documented in C
617 isystem
618 Fortran Joined Separate
619 ; Documented in C
621 nostdinc
622 Fortran
623 ; Documented in C
626 Fortran Joined Separate
627 ; Documented in common.opt
629 static-libgfortran
630 Fortran
631 Statically link the GNU Fortran helper library (libgfortran)
633 std=f2003
634 Fortran
635 Conform to the ISO Fortran 2003 standard
637 std=f2008
638 Fortran
639 Conform to the ISO Fortran 2008 standard
641 std=f2008ts
642 Fortran
643 Conform to the ISO Fortran 2008 standard including TS 29113
645 std=f95
646 Fortran
647 Conform to the ISO Fortran 95 standard
649 std=gnu
650 Fortran
651 Conform to nothing in particular
653 std=legacy
654 Fortran
655 Accept extensions to support legacy code
657 undef
658 Fortran
659 ; Documented in C
662 Fortran
663 ; Documented in C
665 ; This comment is to ensure we retain the blank line above.