compiler: don't generate stubs for ambiguous direct interface methods
[official-gcc.git] / gcc / fortran / lang.opt
blobcf397129d55b528495c68d23d3b003b5b18167b5
1 ; Options for the Fortran front end.
2 ; Copyright (C) 2003-2022 Free Software Foundation, Inc.
4 ; This file is part of GCC.
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/>.
20 ; See the GCC internals manual for a description of this file's format.
22 ; Please try to keep this file in ASCII collating order.
24 Language
25 Fortran
27 -all-warnings
28 Fortran Alias(Wall)
30 -assert
31 Fortran Separate Alias(A)
33 -assert=
34 Fortran Joined Alias(A)
36 -comments
37 Fortran Alias(C)
39 -comments-in-macros
40 Fortran Alias(CC)
42 -define-macro
43 Fortran Separate Alias(D)
45 -define-macro=
46 Fortran Joined Alias(D)
48 -dependencies
49 Fortran Alias(M)
51 -dump
52 Fortran Separate Alias(d)
54 -dump=
55 Fortran Joined Alias(d)
57 -include-barrier
58 Fortran Alias(I, -)
60 -include-directory
61 Fortran Separate Alias(I)
63 -include-directory=
64 Fortran Joined Alias(I)
66 -include-directory-after
67 Fortran Separate Alias(idirafter)
69 -include-directory-after=
70 Fortran Joined Alias(idirafter)
72 -include-prefix
73 Fortran Separate Alias(iprefix)
75 -include-prefix=
76 Fortran JoinedOrMissing Alias(iprefix)
78 -no-line-commands
79 Fortran Alias(P)
81 -no-standard-includes
82 Fortran Alias(nostdinc)
84 -output
85 Fortran Separate Alias(o)
87 -output=
88 Fortran Joined Alias(o)
90 -preprocess
91 Fortran Undocumented Alias(E)
93 -print-missing-file-dependencies
94 Fortran Alias(MG)
96 -trace-includes
97 Fortran Alias(H)
99 -undefine-macro
100 Fortran Separate Alias(U)
102 -undefine-macro=
103 Fortran Joined Alias(U)
105 -user-dependencies
106 Fortran Alias(MM)
108 -verbose
109 Fortran Alias(v)
111 -write-dependencies
112 Fortran NoDriverArg Separate Alias(MD)
114 -write-user-dependencies
115 Fortran NoDriverArg Separate Alias(MMD)
118 Fortran Joined Separate
119 ; Documented in C
122 Fortran
123 ; Documented in C
126 Fortran
127 ; Documented in C
130 Fortran Joined Separate
131 ; Documented in C
134 Fortran Undocumented
137 Fortran
138 ; Documented in C
141 Fortran Joined Separate
142 ; Documented in C
145 Fortran Joined Separate
146 -J<directory>   Put MODULE files in 'directory'.
149 Fortran
150 ; Documented in C
153 Fortran Separate NoDriverArg
154 ; Documented in C
157 Fortran Joined Separate
158 ; Documented in C
161 Fortran
162 ; Documented in C
165 Fortran
166 ; Documented in C
169 Fortran Separate NoDriverArg
170 ; Documented in C
173 Fortran
174 ; Documented in C
177 Fortran Joined Separate
178 ; Documented in C
181 Fortran Joined Separate
182 ; Documented in C
185 Fortran
186 ; Documented in C
189 Fortran Joined Separate
190 ; Documented in C
192 Wall
193 Fortran
194 ; Documented in C
196 Waliasing
197 Fortran Warning Var(warn_aliasing) LangEnabledBy(Fortran,Wall)
198 Warn about possible aliasing of dummy arguments.
200 Walign-commons
201 Fortran Warning Var(warn_align_commons) Init(1)
202 Warn about alignment of COMMON blocks.
204 Wampersand
205 Fortran Warning Var(warn_ampersand) LangEnabledBy(Fortran,Wall || Wpedantic)
206 Warn about missing ampersand in continued character constants.
208 Warray-temporaries
209 Fortran Warning Var(warn_array_temporaries)
210 Warn about creation of array temporaries.
212 Wargument-mismatch
213 Fortran WarnRemoved
214 Does nothing. Preserved for backward compatibility.
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.
220 Wdate-time
221 Fortran
222 ; Documented in C
224 Wcharacter-truncation
225 Fortran Var(warn_character_truncation) Warning LangEnabledBy(Fortran,Wall)
226 Warn about truncated character expressions.
228 Wcompare-reals
229 Fortran Warning Var(warn_compare_reals) LangEnabledBy(Fortran,Wextra)
230 Warn about equality comparisons involving REAL or COMPLEX expressions.
232 Wconversion
233 Fortran Var(warn_conversion) Warning LangEnabledBy(Fortran,Wall)
234 ; Documented in C
236 Wconversion-extra
237 Fortran Var(warn_conversion_extra) Warning
238 Warn about most implicit conversions.
240 Wdo-subscript
241 Fortran Var(warn_do_subscript) Warning LangEnabledBy(Fortran,Wextra)
242 Warn about possibly incorrect subscripts in do loops.
244 Wextra
245 Fortran Warning
246 ; Documented in common
248 Wfrontend-loop-interchange
249 Fortran Var(flag_warn_frontend_loop_interchange)
250 Warn if loops have been interchanged.
252 Wfunction-elimination
253 Fortran Warning Var(warn_function_elimination) LangEnabledBy(Fortran,Wextra)
254 Warn about function call elimination.
256 Wimplicit-interface
257 Fortran Warning Var(warn_implicit_interface)
258 Warn about calls with implicit interface.
260 Wimplicit-procedure
261 Fortran Warning Var(warn_implicit_procedure)
262 Warn about called procedures not explicitly declared.
264 Winteger-division
265 Fortran Warning Var(warn_integer_division) LangEnabledBy(Fortran,Wall)
266 Warn about constant integer divisions with truncated results.
268 Wline-truncation
269 Fortran Warning Var(warn_line_truncation) LangEnabledBy(Fortran,Wall) Init(-1)
270 Warn about truncated source lines.
272 Wintrinsics-std
273 Fortran Var(warn_intrinsics_std) Warning LangEnabledBy(Fortran,Wall)
274 Warn on intrinsics not part of the selected standard.
276 Wmaybe-uninitialized
277 Fortran LangEnabledBy(Fortran,Wall)
278 ; Documented in common.opt
280 Wmissing-include-dirs
281 Fortran
282 ; Documented in C/C++
284 Wuse-without-only
285 Fortran Var(warn_use_without_only) Warning
286 Warn about USE statements that have no ONLY qualifier.
288 Wopenacc-parallelism
289 Fortran
290 ; Documented in C
292 Wopenmp-simd
293 Fortran
294 ; Documented in C
296 Woverwrite-recursive
297 Fortran Warning Var(warn_overwrite_recursive) Init(1)
298 Warn that -fno-automatic may break recursion.
300 Wpedantic
301 Fortran
302 ; Documented in common.opt
304 Wreal-q-constant
305 Fortran Warning Var(warn_real_q_constant) LangEnabledBy(Fortran,Wall)
306 Warn about real-literal-constants with 'q' exponent-letter.
308 Wrealloc-lhs
309 Fortran Warning Var(warn_realloc_lhs) LangEnabledBy(Fortran,Wrealloc-lhs-all)
310 Warn when a left-hand-side array variable is reallocated.
312 Wrealloc-lhs-all
313 Fortran Warning Var(warn_realloc_lhs_all)
314 Warn when a left-hand-side variable is reallocated.
316 Wtarget-lifetime
317 Fortran Warning Var(warn_target_lifetime) LangEnabledBy(Fortran,Wall)
318 Warn if the pointer in a pointer assignment might outlive its target.
320 Wreturn-type
321 Fortran Warning LangEnabledBy(Fortran,Wall)
322 ; Documented in C
324 Wsurprising
325 Fortran Warning Var(warn_surprising) LangEnabledBy(Fortran,Wall)
326 Warn about \"suspicious\" constructs.
328 Wtabs
329 Fortran Warning Var(warn_tabs) LangEnabledBy(Fortran,Wall || Wpedantic)
330 Permit nonconforming uses of the tab character.
332 Wundefined-do-loop
333 Fortran Warning Var(warn_undefined_do_loop) LangEnabledBy(Fortran,Wall)
334 Warn about an invalid DO loop.
336 Wunderflow
337 Fortran Warning Var(warn_underflow) Init(1)
338 Warn about underflow of numerical constant expressions.
340 Wuninitialized
341 Fortran LangEnabledBy(Fortran,Wall)
342 ; Documented in common.opt
344 Wintrinsic-shadow
345 Fortran Warning Var(warn_intrinsic_shadow) LangEnabledBy(Fortran,Wall)
346 Warn if a user-procedure has the same name as an intrinsic.
348 Wunused
349 LangEnabledBy(Fortran,Wall)
350 ; Documented in common.opt
352 Wunused-dummy-argument
353 Fortran Warning Var(warn_unused_dummy_argument) LangEnabledBy(Fortran,Wall)
354 Warn about unused dummy arguments.
356 Wzerotrip
357 Fortran Warning Var(warn_zerotrip) LangEnabledBy(Fortran,Wall)
358 Warn about zero-trip DO loops.
361 Fortran Negative(nocpp)
362 Enable preprocessing.
364 cpp=
365 Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord
366 ; Internal option generated by specs from -cpp.
368 nocpp
369 Fortran Negative(cpp)
370 Disable preprocessing.
373 Fortran Joined
374 ; Documented in common.opt
376 fallow-argument-mismatch
377 Fortran Var(flag_allow_argument_mismatch) LangEnabledBy(Fortran,std=legacy)
378 Accept argument mismatches in procedure calls.
380 faggressive-function-elimination
381 Fortran Var(flag_aggressive_function_elimination)
382 Eliminate multiple function invocations also for impure functions.
384 falign-commons
385 Fortran Var(flag_align_commons) Init(1)
386 Enable alignment of COMMON blocks.
388 fall-intrinsics
389 Fortran RejectNegative Var(flag_all_intrinsics)
390 All intrinsics procedures are available regardless of selected standard.
392 fallow-invalid-boz
393 Fortran RejectNegative Var(flag_allow_invalid_boz)
394 Allow a BOZ literal constant to appear in an invalid context and with X instead of Z.
396 fallow-leading-underscore
397 Fortran Undocumented Var(flag_allow_leading_underscore)
398 ; For internal use only: allow the first character of symbol names to be an underscore
400 fautomatic
401 Fortran Var(flag_automatic) Init(1)
402 Do not treat local variables and COMMON blocks as if they were named in SAVE statements.
404 fbackslash
405 Fortran Var(flag_backslash)
406 Specify that backslash in string introduces an escape character.
408 fbacktrace
409 Fortran Var(flag_backtrace) Init(1)
410 Produce a backtrace when a runtime error is encountered.
412 fblas-matmul-limit=
413 Fortran RejectNegative Joined UInteger Var(flag_blas_matmul_limit) Init(30)
414 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS.
416 fbuilding-libgfortran
417 Fortran Undocumented Var(flag_building_libgfortran)
419 fcheck-array-temporaries
420 Fortran
421 Produce a warning at runtime if a array temporary has been created for a procedure argument.
423 fconvert=
424 Fortran RejectNegative Joined Enum(gfc_convert) EnumSet Var(flag_convert) Init(GFC_FLAG_CONVERT_NATIVE)
425 -fconvert=<big-endian|little-endian|native|swap|r16_ieee|r16_ibm>       The endianness used for unformatted files.
427 Enum
428 Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianness value: %qs)
430 EnumValue
431 Enum(gfc_convert) String(big-endian) Value(GFC_FLAG_CONVERT_BIG) Set(1)
433 EnumValue
434 Enum(gfc_convert) String(little-endian) Value(GFC_FLAG_CONVERT_LITTLE) Set(1)
436 EnumValue
437 Enum(gfc_convert) String(native) Value(GFC_FLAG_CONVERT_NATIVE) Set(1)
439 EnumValue
440 Enum(gfc_convert) String(swap) Value(GFC_FLAG_CONVERT_SWAP) Set(1)
442 EnumValue
443 Enum(gfc_convert) String(r16_ieee) Value(GFC_FLAG_CONVERT_R16_IEEE) Set(2)
445 EnumValue
446 Enum(gfc_convert) String(r16_ibm) Value(GFC_FLAG_CONVERT_R16_IBM) Set(2)
448 fcray-pointer
449 Fortran Var(flag_cray_pointer)
450 Use the Cray Pointer extension.
452 fc-prototypes
453 Fortran Var(flag_c_prototypes)
454 Generate C prototypes from BIND(C) declarations.
456 fc-prototypes-external
457 Fortran Var(flag_c_prototypes_external)
458 Generate C prototypes from non-BIND(C) external procedure definitions.
460 fd-lines-as-code
461 Fortran RejectNegative
462 Ignore 'D' in column one in fixed form.
464 fd-lines-as-comments
465 Fortran RejectNegative
466 Treat lines with 'D' in column one as comments.
468 fdebug-aux-vars
469 Fortran Var(flag_debug_aux_vars)
470 Issue debug information for compiler-generated auxiliary variables.
472 fdec
473 Fortran Var(flag_dec)
474 Enable all DEC language extensions.
476 fdec-blank-format-item
477 Fortran Var(flag_dec_blank_format_item)
478 Enable the use of blank format items in format strings.
480 fdec-char-conversions
481 Fortran Var(flag_dec_char_conversions)
482 Enable the use of character literals in assignments and data statements
483 for non-character variables.
485 fdec-include
486 Fortran Var(flag_dec_include)
487 Enable legacy parsing of INCLUDE as statement.
489 fdec-format-defaults
490 Fortran Var(flag_dec_format_defaults)
491 Enable default widths for i, f and g format specifiers.
493 fdec-intrinsic-ints
494 Fortran Var(flag_dec_intrinsic_ints)
495 Enable kind-specific variants of integer intrinsic functions.
497 fdec-math
498 Fortran Var(flag_dec_math)
499 Enable legacy math intrinsics for compatibility.
501 fdec-structure
502 Fortran Var(flag_dec_structure)
503 Enable support for DEC STRUCTURE/RECORD.
505 fdec-static
506 Fortran Var(flag_dec_static)
507 Enable DEC-style STATIC and AUTOMATIC attributes.
509 fdefault-double-8
510 Fortran Var(flag_default_double)
511 Set the default double precision kind to an 8 byte wide type.
513 fdefault-integer-8
514 Fortran Var(flag_default_integer)
515 Set the default integer kind to an 8 byte wide type.
517 fdefault-real-8
518 Fortran Var(flag_default_real_8)
519 Set the default real kind to an 8 byte wide type.
521 fdefault-real-10
522 Fortran Var(flag_default_real_10)
523 Set the default real kind to an 10 byte wide type.
525 fdefault-real-16
526 Fortran Var(flag_default_real_16)
527 Set the default real kind to an 16 byte wide type.
529 fdollar-ok
530 Fortran Var(flag_dollar_ok)
531 Allow dollar signs in entity names.
533 fdump-core
534 Fortran Ignore
535 Does nothing. Preserved for backward compatibility.
537 fdump-fortran-original
538 Fortran Var(flag_dump_fortran_original)
539 Display the code tree after parsing.
541 fdump-fortran-optimized
542 Fortran Var(flag_dump_fortran_optimized)
543 Display the code tree after front end optimization.
545 fdump-fortran-global
546 Fortran Var(flag_dump_fortran_global)
547 Display the global symbol table after parsing.
549 fdump-parse-tree
550 Fortran Alias(fdump-fortran-original)
551 Display the code tree after parsing; deprecated option.
553 fexternal-blas
554 Fortran Var(flag_external_blas)
555 Specify that an external BLAS library should be used for matmul calls on large-size arrays.
557 ff2c
558 Fortran Var(flag_f2c)
559 Use f2c calling convention.
561 ffixed-form
562 Fortran RejectNegative
563 Assume that the source file is fixed form.
565 ftest-forall-temp
566 Fortran Var(flag_test_forall_temp) Init(0)
567 Force creation of temporary to test infrequently-executed forall code.
569 finteger-4-integer-8
570 Fortran RejectNegative Var(flag_integer4_kind,8)
571 Interpret any INTEGER(4) as an INTEGER(8).
573 fintrinsic-modules-path
574 Fortran RejectNegative Separate
575 Specify where to find the compiled intrinsic modules.
577 fintrinsic-modules-path=
578 Fortran RejectNegative Joined
579 Specify where to find the compiled intrinsic modules.
581 ffixed-line-length-none
582 Fortran RejectNegative Var(flag_fixed_line_length,0)
583 Allow arbitrary character line width in fixed mode.
585 ffixed-line-length-
586 Fortran RejectNegative Joined UInteger Var(flag_fixed_line_length) Init(72)
587 -ffixed-line-length-<n> Use n as character line width in fixed mode.
589 fpad-source
590 Fortran Var(flag_pad_source) Init(1)
591 Pad shorter fixed form lines to line width with spaces.
593 ffpe-trap=
594 Fortran RejectNegative JoinedOrMissing
595 -ffpe-trap=[...]        Stop on following floating point exceptions.
597 ffpe-summary=
598 Fortran RejectNegative JoinedOrMissing
599 -ffpe-summary=[...]     Print summary of floating point exceptions.
601 ffree-form
602 Fortran RejectNegative
603 Assume that the source file is free form.
605 ffree-line-length-none
606 Fortran RejectNegative Var(flag_free_line_length,0)
607 Allow arbitrary character line width in free mode.
609 ffree-line-length-
610 Fortran RejectNegative Joined UInteger Var(flag_free_line_length) Init(132)
611 -ffree-line-length-<n>  Use n as character line width in free mode.
613 ffrontend-loop-interchange
614 Fortran Var(flag_frontend_loop_interchange) Init(-1)
615 Try to interchange loops if profitable.
617 ffrontend-optimize
618 Fortran Var(flag_frontend_optimize) Init(-1)
619 Enable front end optimization.
621 fimplicit-none
622 Fortran Var(flag_implicit_none)
623 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements.
625 finit-character=
626 Fortran RejectNegative Joined UInteger
627 -finit-character=<n>    Initialize local character variables to ASCII value n.
629 finit-derived
630 Fortran Var(flag_init_derived)
631 Initialize components of derived type variables according to other init flags.
633 finit-integer=
634 Fortran RejectNegative Joined
635 -finit-integer=<n>      Initialize local integer variables to n.
637 finit-local-zero
638 Fortran
639 Initialize local variables to zero (from g77).
641 finit-logical=
642 Fortran RejectNegative Joined
643 -finit-logical=<true|false>     Initialize local logical variables.
645 finit-real=
646 Fortran RejectNegative ToLower Joined Enum(gfc_init_local_real) Var(flag_init_real) Init(GFC_INIT_REAL_OFF)
647 -finit-real=<zero|snan|nan|inf|-inf>    Initialize local real variables.
649 Enum
650 Name(gfc_init_local_real) Type(enum gfc_init_local_real) UnknownError(Unrecognized option to floating-point init value: %qs)
652 EnumValue
653 Enum(gfc_init_local_real) String(zero) Value(GFC_INIT_REAL_ZERO)
655 EnumValue
656 Enum(gfc_init_local_real) String(snan) Value(GFC_INIT_REAL_SNAN)
658 EnumValue
659 Enum(gfc_init_local_real) String(nan) Value(GFC_INIT_REAL_NAN)
661 EnumValue
662 Enum(gfc_init_local_real) String(inf) Value(GFC_INIT_REAL_INF)
664 EnumValue
665 Enum(gfc_init_local_real) String(-inf) Value(GFC_INIT_REAL_NEG_INF)
667 finline-arg-packing
668 Fortran  Var(flag_inline_arg_packing) Init(-1)
669 -finline-arg-packing    Perform argument packing inline.
671 finline-matmul-limit=
672 Fortran RejectNegative Joined UInteger Var(flag_inline_matmul_limit) Init(-1)
673 -finline-matmul-limit=<n>       Specify the size of the largest matrix for which matmul will be inlined.
675 fmax-array-constructor=
676 Fortran RejectNegative Joined UInteger Var(flag_max_array_constructor) Init(65535)
677 -fmax-array-constructor=<n>     Maximum number of objects in an array constructor.
679 fmax-identifier-length=
680 Fortran RejectNegative Joined UInteger
681 -fmax-identifier-length=<n>     Maximum identifier length.
683 fmax-subrecord-length=
684 Fortran RejectNegative Joined UInteger Var(flag_max_subrecord_length)
685 -fmax-subrecord-length=<n>      Maximum length for subrecords.
687 fmax-stack-var-size=
688 Fortran RejectNegative Joined UInteger Var(flag_max_stack_var_size) Init(-2)
689 -fmax-stack-var-size=<n>        Size in bytes of the largest array that will be put on the stack.
691 fstack-arrays
692 Fortran Var(flag_stack_arrays) Init(-1)
693 Put all local arrays on stack.
695 fmodule-private
696 Fortran Var(flag_module_private)
697 Set default accessibility of module entities to PRIVATE.
699 fopenacc
700 Fortran LTO
701 ; Documented in C
703 fopenacc-dim=
704 Fortran LTO Joined Var(flag_openacc_dims)
705 ; Documented in C
707 fopenmp
708 Fortran LTO
709 ; Documented in C
711 fopenmp-simd
712 Fortran
713 ; Documented in C
715 fpack-derived
716 Fortran Var(flag_pack_derived)
717 Try to lay out derived types as compactly as possible.
719 fpreprocessed
720 Fortran
721 ; Documented in C
723 fprotect-parens
724 Fortran Var(flag_protect_parens) Init(-1)
725 Protect parentheses in expressions.
727 fpre-include=
728 Fortran RejectNegative Joined Var(flag_pre_include) Undocumented
729 Path to header file that should be pre-included before each compilation unit.
731 frange-check
732 Fortran Var(flag_range_check) Init(1)
733 Enable range checking during compilation.
735 freal-4-real-8
736 Fortran RejectNegative Var(flag_real4_kind,8)
737 Interpret any REAL(4) as a REAL(8).
739 freal-4-real-10
740 Fortran RejectNegative Var(flag_real4_kind,10)
741 Interpret any REAL(4) as a REAL(10).
743 freal-4-real-16
744 Fortran RejectNegative Var(flag_real4_kind,16)
745 Interpret any REAL(4) as a REAL(16).
747 freal-8-real-4
748 Fortran RejectNegative Var(flag_real8_kind,4)
749 Interpret any REAL(8) as a REAL(4).
751 freal-8-real-10
752 Fortran RejectNegative Var(flag_real8_kind,10)
753 Interpret any REAL(8) as a REAL(10).
755 freal-8-real-16
756 Fortran RejectNegative Var(flag_real8_kind,16)
757 Interpret any REAL(8) as a REAL(16).
759 frealloc-lhs
760 Fortran Var(flag_realloc_lhs) Init(-1)
761 Reallocate the LHS in assignments.
763 frecord-marker=4
764 Fortran RejectNegative Var(flag_record_marker,4)
765 Use a 4-byte record marker for unformatted files.
767 frecord-marker=8
768 Fortran RejectNegative Var(flag_record_marker,8)
769 Use an 8-byte record marker for unformatted files.
771 frecursive
772 Fortran Var(flag_recursive)
773 Allocate local variables on the stack to allow indirect recursion.
775 frepack-arrays
776 Fortran Var(flag_repack_arrays)
777 Copy array sections into a contiguous block on procedure entry.
779 fcoarray=
780 Fortran RejectNegative Joined Enum(gfc_fcoarray) Var(flag_coarray) Init(GFC_FCOARRAY_NONE)
781 -fcoarray=<none|single|lib>     Specify which coarray parallelization should be used.
783 Enum
784 Name(gfc_fcoarray) Type(enum gfc_fcoarray) UnknownError(Unrecognized option: %qs)
786 EnumValue
787 Enum(gfc_fcoarray) String(none) Value(GFC_FCOARRAY_NONE)
789 EnumValue
790 Enum(gfc_fcoarray) String(single) Value(GFC_FCOARRAY_SINGLE)
792 EnumValue
793 Enum(gfc_fcoarray) String(lib) Value(GFC_FCOARRAY_LIB)
795 fcheck=
796 Fortran RejectNegative JoinedOrMissing
797 -fcheck=[...]   Specify which runtime checks are to be performed.
799 fsecond-underscore
800 Fortran Var(flag_second_underscore) Init(-1)
801 Append a second underscore if the name already contains an underscore.
803 fshort-enums
804 Fortran Var(flag_short_enums)
805 ; Documented in C
807 fsign-zero
808 Fortran Var(flag_sign_zero) Init(1)
809 Apply negative sign to zero values.
811 ftail-call-workaround
812 Fortran Alias(ftail-call-workaround=,1,0)
814 ftail-call-workaround=
815 Fortran RejectNegative Joined UInteger IntegerRange(0, 2) Var(flag_tail_call_workaround) Init(1)
816 Disallow tail call optimization when a calling routine may have omitted character lengths.
818 funderscoring
819 Fortran Var(flag_underscoring) Init(1)
820 Append underscores to externally visible names.
822 fwhole-file
823 Fortran Ignore
824 Does nothing.  Preserved for backward compatibility.
826 fworking-directory
827 Fortran
828 ; Documented in C
830 idirafter
831 Fortran Joined Separate
832 ; Documented in C
834 imultilib
835 Fortran Joined Separate
836 ; Documented in C
838 iprefix
839 Fortran Joined Separate
840 ; Documented in C
842 iquote
843 Fortran Joined Separate
844 ; Documented in C
846 isysroot
847 Fortran Joined Separate
848 ; Documented in C
850 isystem
851 Fortran Joined Separate
852 ; Documented in C
854 nostdinc
855 Fortran
856 ; Documented in C
859 Fortran Joined Separate
860 ; Documented in common.opt
862 static-libgfortran
863 Fortran
864 Statically link the GNU Fortran helper library (libgfortran).
866 std=f2003
867 Fortran
868 Conform to the ISO Fortran 2003 standard.
870 std=f2008
871 Fortran
872 Conform to the ISO Fortran 2008 standard.
874 std=f2008ts
875 Fortran
876 Conform to the ISO Fortran 2008 standard including TS 29113.
878 std=f2018
879 Fortran
880 Conform to the ISO Fortran 2018 standard.
882 std=f95
883 Fortran
884 Conform to the ISO Fortran 95 standard.
886 std=gnu
887 Fortran
888 Conform to nothing in particular.
890 std=legacy
891 Fortran
892 Accept extensions to support legacy code.
894 undef
895 Fortran
896 ; Documented in C
899 Fortran
900 ; Documented in C
902 ; This comment is to ensure we retain the blank line above.