]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/fortran/lang.opt
re PR fortran/45435 (Automatically generate C interop interface blocks from C code)
[thirdparty/gcc.git] / gcc / fortran / lang.opt
1 ; Options for the Fortran 95 front end.
2 ; Copyright (C) 2003-2017 Free Software Foundation, Inc.
3 ;
4 ; This file is part of GCC.
5 ;
6 ; GCC is free software; you can redistribute it and/or modify it under
7 ; the terms of the GNU General Public License as published by the Free
8 ; Software Foundation; either version 3, or (at your option) any later
9 ; version.
10 ;
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 ; for more details.
15 ;
16 ; You should have received a copy of the GNU General Public License
17 ; along with GCC; see the file COPYING3. If not see
18 ; <http://www.gnu.org/licenses/>.
19
20 ; See the GCC internals manual for a description of this file's format.
21
22 ; Please try to keep this file in ASCII collating order.
23
24 Language
25 Fortran
26
27 -all-warnings
28 Fortran Alias(Wall)
29
30 -assert
31 Fortran Separate Alias(A)
32
33 -assert=
34 Fortran Joined Alias(A)
35
36 -comments
37 Fortran Alias(C)
38
39 -comments-in-macros
40 Fortran Alias(CC)
41
42 -define-macro
43 Fortran Separate Alias(D)
44
45 -define-macro=
46 Fortran Joined Alias(D)
47
48 -dependencies
49 Fortran Alias(M)
50
51 -dump
52 Fortran Separate Alias(d)
53
54 -dump=
55 Fortran Joined Alias(d)
56
57 -include-barrier
58 Fortran Alias(I, -)
59
60 -include-directory
61 Fortran Separate Alias(I)
62
63 -include-directory=
64 Fortran Joined Alias(I)
65
66 -include-directory-after
67 Fortran Separate Alias(idirafter)
68
69 -include-directory-after=
70 Fortran Joined Alias(idirafter)
71
72 -include-prefix
73 Fortran Separate Alias(iprefix)
74
75 -include-prefix=
76 Fortran JoinedOrMissing Alias(iprefix)
77
78 -no-line-commands
79 Fortran Alias(P)
80
81 -no-standard-includes
82 Fortran Alias(nostdinc)
83
84 -output
85 Fortran Separate Alias(o)
86
87 -output=
88 Fortran Joined Alias(o)
89
90 -preprocess
91 Fortran Undocumented Alias(E)
92
93 -print-missing-file-dependencies
94 Fortran Alias(MG)
95
96 -trace-includes
97 Fortran Alias(H)
98
99 -undefine-macro
100 Fortran Separate Alias(U)
101
102 -undefine-macro=
103 Fortran Joined Alias(U)
104
105 -user-dependencies
106 Fortran Alias(MM)
107
108 -verbose
109 Fortran Alias(v)
110
111 -write-dependencies
112 Fortran NoDriverArg Separate Alias(MD)
113
114 -write-user-dependencies
115 Fortran NoDriverArg Separate Alias(MMD)
116
117 A
118 Fortran Joined Separate
119 ; Documented in C
120
121 C
122 Fortran
123 ; Documented in C
124
125 CC
126 Fortran
127 ; Documented in C
128
129 D
130 Fortran Joined Separate
131 ; Documented in C
132
133 E
134 Fortran Undocumented
135
136 H
137 Fortran
138 ; Documented in C
139
140 I
141 Fortran Joined Separate
142 ; Documented in C
143
144 J
145 Fortran Joined Separate
146 -J<directory> Put MODULE files in 'directory'.
147
148 M
149 Fortran
150 ; Documented in C
151
152 MD
153 Fortran Separate NoDriverArg
154 ; Documented in C
155
156 MF
157 Fortran Joined Separate
158 ; Documented in C
159
160 MG
161 Fortran
162 ; Documented in C
163
164 MM
165 Fortran
166 ; Documented in C
167
168 MMD
169 Fortran Separate NoDriverArg
170 ; Documented in C
171
172 MP
173 Fortran
174 ; Documented in C
175
176 MT
177 Fortran Joined Separate
178 ; Documented in C
179
180 MQ
181 Fortran Joined Separate
182 ; Documented in C
183
184 P
185 Fortran
186 ; Documented in C
187
188 U
189 Fortran Joined Separate
190 ; Documented in C
191
192 Wall
193 Fortran
194 ; Documented in C
195
196 Waliasing
197 Fortran Warning Var(warn_aliasing) LangEnabledBy(Fortran,Wall)
198 Warn about possible aliasing of dummy arguments.
199
200 Walign-commons
201 Fortran Warning Var(warn_align_commons) Init(1)
202 Warn about alignment of COMMON blocks.
203
204 Wampersand
205 Fortran Warning Var(warn_ampersand) LangEnabledBy(Fortran,Wall || Wpedantic)
206 Warn about missing ampersand in continued character constants.
207
208 Warray-temporaries
209 Fortran Warning Var(warn_array_temporaries)
210 Warn about creation of array temporaries.
211
212 Wargument-mismatch
213 Fortran Warning Var(warn_argument_mismatch) Init(1)
214 Warn about type and rank mismatches between arguments and parameters.
215
216 Wc-binding-type
217 Fortran Var(warn_c_binding_type) Warning LangEnabledBy(Fortran,Wall)
218 Warn if the type of a variable might be not interoperable with C.
219
220 Wdate-time
221 Fortran
222 ; Documented in C
223
224 Wcharacter-truncation
225 Fortran Var(warn_character_truncation) Warning LangEnabledBy(Fortran,Wall)
226 Warn about truncated character expressions.
227
228 Wcompare-reals
229 Fortran Warning Var(warn_compare_reals) LangEnabledBy(Fortran,Wextra)
230 Warn about equality comparisons involving REAL or COMPLEX expressions.
231
232 Wconversion
233 Fortran Var(warn_conversion) Warning LangEnabledBy(Fortran,Wall)
234 ; Documented in C
235
236 Wconversion-extra
237 Fortran Var(warn_conversion_extra) Warning
238 Warn about most implicit conversions.
239
240 Wextra
241 Fortran Warning
242 ; Documented in common
243
244 Wfunction-elimination
245 Fortran Warning Var(warn_function_elimination)
246 Warn about function call elimination.
247
248 Wimplicit-interface
249 Fortran Warning Var(warn_implicit_interface)
250 Warn about calls with implicit interface.
251
252 Wimplicit-procedure
253 Fortran Warning Var(warn_implicit_procedure)
254 Warn about called procedures not explicitly declared.
255
256 Winteger-division
257 Fortran Warning Var(warn_integer_division) LangEnabledBy(Fortran,Wall)
258 Warn about constant integer divisions with truncated results.
259
260 Wline-truncation
261 Fortran Warning Var(warn_line_truncation) LangEnabledBy(Fortran,Wall) Init(-1)
262 Warn about truncated source lines.
263
264 Wintrinsics-std
265 Fortran Var(warn_intrinsics_std) Warning LangEnabledBy(Fortran,Wall)
266 Warn on intrinsics not part of the selected standard.
267
268 Wmaybe-uninitialized
269 Fortran LangEnabledBy(Fortran,Wall)
270 ; Documented in common.opt
271
272 Wmissing-include-dirs
273 Fortran
274 ; Documented in C/C++
275
276 Wuse-without-only
277 Fortran Var(warn_use_without_only) Warning
278 Warn about USE statements that have no ONLY qualifier.
279
280 Wopenmp-simd
281 Fortran
282 ; Documented in C
283
284 Wpedantic
285 Fortran
286 ; Documented in common.opt
287
288 Wreal-q-constant
289 Fortran Warning Var(warn_real_q_constant) LangEnabledBy(Fortran,Wall)
290 Warn about real-literal-constants with 'q' exponent-letter.
291
292 Wrealloc-lhs
293 Fortran Warning Var(warn_realloc_lhs) LangEnabledBy(Fortran,Wrealloc-lhs-all)
294 Warn when a left-hand-side array variable is reallocated.
295
296 Wrealloc-lhs-all
297 Fortran Warning Var(warn_realloc_lhs_all)
298 Warn when a left-hand-side variable is reallocated.
299
300 Wtarget-lifetime
301 Fortran Warning Var(warn_target_lifetime) LangEnabledBy(Fortran,Wall)
302 Warn if the pointer in a pointer assignment might outlive its target.
303
304 Wreturn-type
305 Fortran Warning LangEnabledBy(Fortran,Wall)
306 ; Documented in C
307
308 Wsurprising
309 Fortran Warning Var(warn_surprising) LangEnabledBy(Fortran,Wall)
310 Warn about \"suspicious\" constructs.
311
312 Wtabs
313 Fortran Warning Var(warn_tabs) LangEnabledBy(Fortran,Wall || Wpedantic)
314 Permit nonconforming uses of the tab character.
315
316 Wundefined-do-loop
317 Fortran Warning Var(warn_undefined_do_loop) LangEnabledBy(Fortran,Wall)
318 Warn about an invalid DO loop.
319
320 Wunderflow
321 Fortran Warning Var(warn_underflow) Init(1)
322 Warn about underflow of numerical constant expressions.
323
324 Wuninitialized
325 Fortran LangEnabledBy(Fortran,Wall)
326 ; Documented in common.opt
327
328 Wintrinsic-shadow
329 Fortran Warning Var(warn_intrinsic_shadow) LangEnabledBy(Fortran,Wall)
330 Warn if a user-procedure has the same name as an intrinsic.
331
332 Wunused
333 LangEnabledBy(Fortran,Wall)
334 ; Documented in common.opt
335
336 Wunused-dummy-argument
337 Fortran Warning Var(warn_unused_dummy_argument) LangEnabledBy(Fortran,Wall)
338 Warn about unused dummy arguments.
339
340 Wzerotrip
341 Fortran Warning Var(warn_zerotrip) LangEnabledBy(Fortran,Wall)
342 Warn about zero-trip DO loops.
343
344 cpp
345 Fortran Negative(nocpp)
346 Enable preprocessing.
347
348 cpp=
349 Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord
350 ; Internal option generated by specs from -cpp.
351
352 nocpp
353 Fortran Negative(cpp)
354 Disable preprocessing.
355
356 d
357 Fortran Joined
358 ; Documented in common.opt
359
360 faggressive-function-elimination
361 Fortran Var(flag_aggressive_function_elimination)
362 Eliminate multiple function invocations also for impure functions.
363
364 falign-commons
365 Fortran Var(flag_align_commons) Init(1)
366 Enable alignment of COMMON blocks.
367
368 fall-intrinsics
369 Fortran RejectNegative Var(flag_all_intrinsics)
370 All intrinsics procedures are available regardless of selected standard.
371
372 fallow-leading-underscore
373 Fortran Undocumented Var(flag_allow_leading_underscore)
374 ; For internal use only: allow the first character of symbol names to be an underscore
375
376 fautomatic
377 Fortran Var(flag_automatic) Init(1)
378 Do not treat local variables and COMMON blocks as if they were named in SAVE statements.
379
380 fbackslash
381 Fortran Var(flag_backslash)
382 Specify that backslash in string introduces an escape character.
383
384 fbacktrace
385 Fortran Var(flag_backtrace) Init(1)
386 Produce a backtrace when a runtime error is encountered.
387
388 fblas-matmul-limit=
389 Fortran RejectNegative Joined UInteger Var(flag_blas_matmul_limit) Init(30)
390 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS.
391
392 fcheck-array-temporaries
393 Fortran
394 Produce a warning at runtime if a array temporary has been created for a procedure argument.
395
396 fconvert=
397 Fortran RejectNegative Joined Enum(gfc_convert) Var(flag_convert) Init(GFC_FLAG_CONVERT_NATIVE)
398 -fconvert=<big-endian|little-endian|native|swap> The endianness used for unformatted files.
399
400 Enum
401 Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianness value: %qs)
402
403 EnumValue
404 Enum(gfc_convert) String(big-endian) Value(GFC_FLAG_CONVERT_BIG)
405
406 EnumValue
407 Enum(gfc_convert) String(little-endian) Value(GFC_FLAG_CONVERT_LITTLE)
408
409 EnumValue
410 Enum(gfc_convert) String(native) Value(GFC_FLAG_CONVERT_NATIVE)
411
412 EnumValue
413 Enum(gfc_convert) String(swap) Value(GFC_FLAG_CONVERT_SWAP)
414
415 fcray-pointer
416 Fortran Var(flag_cray_pointer)
417 Use the Cray Pointer extension.
418
419 fc-prototypes
420 Fortran Var(flag_c_prototypes)
421 Generate C prototypes from BIND(C) declarations.
422
423 fd-lines-as-code
424 Fortran RejectNegative
425 Ignore 'D' in column one in fixed form.
426
427 fd-lines-as-comments
428 Fortran RejectNegative
429 Treat lines with 'D' in column one as comments.
430
431 fdec
432 Fortran Var(flag_dec)
433 Enable all DEC language extensions.
434
435 fdec-intrinsic-ints
436 Fortran Var(flag_dec_intrinsic_ints)
437 Enable kind-specific variants of integer intrinsic functions.
438
439 fdec-math
440 Fortran Var(flag_dec_math)
441 Enable legacy math intrinsics for compatibility.
442
443 fdec-structure
444 Fortran Var(flag_dec_structure)
445 Enable support for DEC STRUCTURE/RECORD.
446
447 fdec-static
448 Fortran Var(flag_dec_static)
449 Enable DEC-style STATIC and AUTOMATIC attributes.
450
451 fdefault-double-8
452 Fortran Var(flag_default_double)
453 Set the default double precision kind to an 8 byte wide type.
454
455 fdefault-integer-8
456 Fortran Var(flag_default_integer)
457 Set the default integer kind to an 8 byte wide type.
458
459 fdefault-real-8
460 Fortran Var(flag_default_real)
461 Set the default real kind to an 8 byte wide type.
462
463 fdollar-ok
464 Fortran Var(flag_dollar_ok)
465 Allow dollar signs in entity names.
466
467 fdump-core
468 Fortran Ignore
469 Does nothing. Preserved for backward compatibility.
470
471 fdump-fortran-original
472 Fortran Var(flag_dump_fortran_original)
473 Display the code tree after parsing.
474
475 fdump-fortran-optimized
476 Fortran Var(flag_dump_fortran_optimized)
477 Display the code tree after front end optimization.
478
479 fdump-parse-tree
480 Fortran Alias(fdump-fortran-original)
481 Display the code tree after parsing; deprecated option.
482
483 fexternal-blas
484 Fortran Var(flag_external_blas)
485 Specify that an external BLAS library should be used for matmul calls on large-size arrays.
486
487 ff2c
488 Fortran Var(flag_f2c)
489 Use f2c calling convention.
490
491 ffixed-form
492 Fortran RejectNegative
493 Assume that the source file is fixed form.
494
495 ftest-forall-temp
496 Fortran Var(flag_test_forall_temp) Init(0)
497 Force creation of temporary to test infrequently-executed forall code.
498
499 finteger-4-integer-8
500 Fortran RejectNegative Var(flag_integer4_kind,8)
501 Interpret any INTEGER(4) as an INTEGER(8).
502
503 fintrinsic-modules-path
504 Fortran RejectNegative Separate
505 Specify where to find the compiled intrinsic modules.
506
507 fintrinsic-modules-path=
508 Fortran RejectNegative Joined
509 Specify where to find the compiled intrinsic modules.
510
511 ffixed-line-length-none
512 Fortran RejectNegative Var(flag_fixed_line_length,0)
513 Allow arbitrary character line width in fixed mode.
514
515 ffixed-line-length-
516 Fortran RejectNegative Joined UInteger Var(flag_fixed_line_length) Init(72)
517 -ffixed-line-length-<n> Use n as character line width in fixed mode.
518
519 ffpe-trap=
520 Fortran RejectNegative JoinedOrMissing
521 -ffpe-trap=[...] Stop on following floating point exceptions.
522
523 ffpe-summary=
524 Fortran RejectNegative JoinedOrMissing
525 -ffpe-summary=[...] Print summary of floating point exceptions.
526
527 ffree-form
528 Fortran RejectNegative
529 Assume that the source file is free form.
530
531 ffree-line-length-none
532 Fortran RejectNegative Var(flag_free_line_length,0)
533 Allow arbitrary character line width in free mode.
534
535 ffree-line-length-
536 Fortran RejectNegative Joined UInteger Var(flag_free_line_length) Init(132)
537 -ffree-line-length-<n> Use n as character line width in free mode.
538
539 ffrontend-optimize
540 Fortran Var(flag_frontend_optimize) Init(-1)
541 Enable front end optimization.
542
543 fimplicit-none
544 Fortran Var(flag_implicit_none)
545 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements.
546
547 finit-character=
548 Fortran RejectNegative Joined UInteger
549 -finit-character=<n> Initialize local character variables to ASCII value n.
550
551 finit-derived
552 Fortran Var(flag_init_derived)
553 Initialize components of derived type variables according to other init flags.
554
555 finit-integer=
556 Fortran RejectNegative Joined
557 -finit-integer=<n> Initialize local integer variables to n.
558
559 finit-local-zero
560 Fortran
561 Initialize local variables to zero (from g77).
562
563 finit-logical=
564 Fortran RejectNegative Joined
565 -finit-logical=<true|false> Initialize local logical variables.
566
567 finit-real=
568 Fortran RejectNegative ToLower Joined Enum(gfc_init_local_real) Var(flag_init_real) Init(GFC_INIT_REAL_OFF)
569 -finit-real=<zero|snan|nan|inf|-inf> Initialize local real variables.
570
571 Enum
572 Name(gfc_init_local_real) Type(enum gfc_init_local_real) UnknownError(Unrecognized option to floating-point init value: %qs)
573
574 EnumValue
575 Enum(gfc_init_local_real) String(zero) Value(GFC_INIT_REAL_ZERO)
576
577 EnumValue
578 Enum(gfc_init_local_real) String(snan) Value(GFC_INIT_REAL_SNAN)
579
580 EnumValue
581 Enum(gfc_init_local_real) String(nan) Value(GFC_INIT_REAL_NAN)
582
583 EnumValue
584 Enum(gfc_init_local_real) String(inf) Value(GFC_INIT_REAL_INF)
585
586 EnumValue
587 Enum(gfc_init_local_real) String(-inf) Value(GFC_INIT_REAL_NEG_INF)
588
589 finline-matmul-limit=
590 Fortran RejectNegative Joined UInteger Var(flag_inline_matmul_limit) Init(-1)
591 -finline-matmul-limit=<n> Specify the size of the largest matrix for which matmul will be inlined.
592
593 fmax-array-constructor=
594 Fortran RejectNegative Joined UInteger Var(flag_max_array_constructor) Init(65535)
595 -fmax-array-constructor=<n> Maximum number of objects in an array constructor.
596
597 fmax-identifier-length=
598 Fortran RejectNegative Joined UInteger
599 -fmax-identifier-length=<n> Maximum identifier length.
600
601 fmax-subrecord-length=
602 Fortran RejectNegative Joined UInteger Var(flag_max_subrecord_length)
603 -fmax-subrecord-length=<n> Maximum length for subrecords.
604
605 fmax-stack-var-size=
606 Fortran RejectNegative Joined UInteger Var(flag_max_stack_var_size) Init(-2)
607 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack.
608
609 fstack-arrays
610 Fortran Var(flag_stack_arrays) Init(-1)
611 Put all local arrays on stack.
612
613 fmodule-private
614 Fortran Var(flag_module_private)
615 Set default accessibility of module entities to PRIVATE.
616
617 fopenacc
618 Fortran LTO
619 ; Documented in C
620
621 fopenacc-dim=
622 Fortran LTO Joined Var(flag_openacc_dims)
623 ; Documented in C
624
625 fopenmp
626 Fortran LTO
627 ; Documented in C
628
629 fopenmp-simd
630 Fortran
631 ; Documented in C
632
633 fpack-derived
634 Fortran Var(flag_pack_derived)
635 Try to lay out derived types as compactly as possible.
636
637 fpreprocessed
638 Fortran
639 ; Documented in C
640
641 fprotect-parens
642 Fortran Var(flag_protect_parens) Init(-1)
643 Protect parentheses in expressions.
644
645 frange-check
646 Fortran Var(flag_range_check) Init(1)
647 Enable range checking during compilation.
648
649 freal-4-real-8
650 Fortran RejectNegative Var(flag_real4_kind,8)
651 Interpret any REAL(4) as a REAL(8).
652
653 freal-4-real-10
654 Fortran RejectNegative Var(flag_real4_kind,10)
655 Interpret any REAL(4) as a REAL(10).
656
657 freal-4-real-16
658 Fortran RejectNegative Var(flag_real4_kind,16)
659 Interpret any REAL(4) as a REAL(16).
660
661 freal-8-real-4
662 Fortran RejectNegative Var(flag_real8_kind,4)
663 Interpret any REAL(8) as a REAL(4).
664
665 freal-8-real-10
666 Fortran RejectNegative Var(flag_real8_kind,10)
667 Interpret any REAL(8) as a REAL(10).
668
669 freal-8-real-16
670 Fortran RejectNegative Var(flag_real8_kind,16)
671 Interpret any REAL(8) as a REAL(16).
672
673 frealloc-lhs
674 Fortran Var(flag_realloc_lhs) Init(-1)
675 Reallocate the LHS in assignments.
676
677 frecord-marker=4
678 Fortran RejectNegative Var(flag_record_marker,4)
679 Use a 4-byte record marker for unformatted files.
680
681 frecord-marker=8
682 Fortran RejectNegative Var(flag_record_marker,8)
683 Use an 8-byte record marker for unformatted files.
684
685 frecursive
686 Fortran Var(flag_recursive)
687 Allocate local variables on the stack to allow indirect recursion.
688
689 frepack-arrays
690 Fortran Var(flag_repack_arrays)
691 Copy array sections into a contiguous block on procedure entry.
692
693 fcoarray=
694 Fortran RejectNegative Joined Enum(gfc_fcoarray) Var(flag_coarray) Init(GFC_FCOARRAY_NONE)
695 -fcoarray=<none|single|lib> Specify which coarray parallelization should be used.
696
697 Enum
698 Name(gfc_fcoarray) Type(enum gfc_fcoarray) UnknownError(Unrecognized option: %qs)
699
700 EnumValue
701 Enum(gfc_fcoarray) String(none) Value(GFC_FCOARRAY_NONE)
702
703 EnumValue
704 Enum(gfc_fcoarray) String(single) Value(GFC_FCOARRAY_SINGLE)
705
706 EnumValue
707 Enum(gfc_fcoarray) String(lib) Value(GFC_FCOARRAY_LIB)
708
709 fcheck=
710 Fortran RejectNegative JoinedOrMissing
711 -fcheck=[...] Specify which runtime checks are to be performed.
712
713 fsecond-underscore
714 Fortran Var(flag_second_underscore) Init(-1)
715 Append a second underscore if the name already contains an underscore.
716
717 fshort-enums
718 Fortran Var(flag_short_enums)
719 ; Documented in C
720
721 fsign-zero
722 Fortran Var(flag_sign_zero) Init(1)
723 Apply negative sign to zero values.
724
725 funderscoring
726 Fortran Var(flag_underscoring) Init(1)
727 Append underscores to externally visible names.
728
729 fwhole-file
730 Fortran Ignore
731 Does nothing. Preserved for backward compatibility.
732
733 fworking-directory
734 Fortran
735 ; Documented in C
736
737 idirafter
738 Fortran Joined Separate
739 ; Documented in C
740
741 imultilib
742 Fortran Joined Separate
743 ; Documented in C
744
745 iprefix
746 Fortran Joined Separate
747 ; Documented in C
748
749 iquote
750 Fortran Joined Separate
751 ; Documented in C
752
753 isysroot
754 Fortran Joined Separate
755 ; Documented in C
756
757 isystem
758 Fortran Joined Separate
759 ; Documented in C
760
761 nostdinc
762 Fortran
763 ; Documented in C
764
765 o
766 Fortran Joined Separate
767 ; Documented in common.opt
768
769 static-libgfortran
770 Fortran
771 Statically link the GNU Fortran helper library (libgfortran).
772
773 std=f2003
774 Fortran
775 Conform to the ISO Fortran 2003 standard.
776
777 std=f2008
778 Fortran
779 Conform to the ISO Fortran 2008 standard.
780
781 std=f2008ts
782 Fortran
783 Conform to the ISO Fortran 2008 standard including TS 29113.
784
785 std=f95
786 Fortran
787 Conform to the ISO Fortran 95 standard.
788
789 std=gnu
790 Fortran
791 Conform to nothing in particular.
792
793 std=legacy
794 Fortran
795 Accept extensions to support legacy code.
796
797 undef
798 Fortran
799 ; Documented in C
800
801 v
802 Fortran
803 ; Documented in C
804
805 ; This comment is to ensure we retain the blank line above.