]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/fortran/lang.opt
Update copyright years.
[thirdparty/gcc.git] / gcc / fortran / lang.opt
1 ; Options for the Fortran front end.
2 ; Copyright (C) 2003-2021 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 WarnRemoved
214 Does nothing. Preserved for backward compatibility.
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 Wdo-subscript
241 Fortran Var(warn_do_subscript) Warning LangEnabledBy(Fortran,Wextra)
242 Warn about possibly incorrect subscripts in do loops.
243
244 Wextra
245 Fortran Warning
246 ; Documented in common
247
248 Wfrontend-loop-interchange
249 Fortran Var(flag_warn_frontend_loop_interchange)
250 Warn if loops have been interchanged.
251
252 Wfunction-elimination
253 Fortran Warning Var(warn_function_elimination) LangEnabledBy(Fortran,Wextra)
254 Warn about function call elimination.
255
256 Wimplicit-interface
257 Fortran Warning Var(warn_implicit_interface)
258 Warn about calls with implicit interface.
259
260 Wimplicit-procedure
261 Fortran Warning Var(warn_implicit_procedure)
262 Warn about called procedures not explicitly declared.
263
264 Winteger-division
265 Fortran Warning Var(warn_integer_division) LangEnabledBy(Fortran,Wall)
266 Warn about constant integer divisions with truncated results.
267
268 Wline-truncation
269 Fortran Warning Var(warn_line_truncation) LangEnabledBy(Fortran,Wall) Init(-1)
270 Warn about truncated source lines.
271
272 Wintrinsics-std
273 Fortran Var(warn_intrinsics_std) Warning LangEnabledBy(Fortran,Wall)
274 Warn on intrinsics not part of the selected standard.
275
276 Wmaybe-uninitialized
277 Fortran LangEnabledBy(Fortran,Wall)
278 ; Documented in common.opt
279
280 Wmissing-include-dirs
281 Fortran
282 ; Documented in C/C++
283
284 Wuse-without-only
285 Fortran Var(warn_use_without_only) Warning
286 Warn about USE statements that have no ONLY qualifier.
287
288 Wopenmp-simd
289 Fortran
290 ; Documented in C
291
292 Woverwrite-recursive
293 Fortran Warning Var(warn_overwrite_recursive) Init(1)
294 Warn that -fno-automatic may break recursion.
295
296 Wpedantic
297 Fortran
298 ; Documented in common.opt
299
300 Wreal-q-constant
301 Fortran Warning Var(warn_real_q_constant) LangEnabledBy(Fortran,Wall)
302 Warn about real-literal-constants with 'q' exponent-letter.
303
304 Wrealloc-lhs
305 Fortran Warning Var(warn_realloc_lhs) LangEnabledBy(Fortran,Wrealloc-lhs-all)
306 Warn when a left-hand-side array variable is reallocated.
307
308 Wrealloc-lhs-all
309 Fortran Warning Var(warn_realloc_lhs_all)
310 Warn when a left-hand-side variable is reallocated.
311
312 Wtarget-lifetime
313 Fortran Warning Var(warn_target_lifetime) LangEnabledBy(Fortran,Wall)
314 Warn if the pointer in a pointer assignment might outlive its target.
315
316 Wreturn-type
317 Fortran Warning LangEnabledBy(Fortran,Wall)
318 ; Documented in C
319
320 Wsurprising
321 Fortran Warning Var(warn_surprising) LangEnabledBy(Fortran,Wall)
322 Warn about \"suspicious\" constructs.
323
324 Wtabs
325 Fortran Warning Var(warn_tabs) LangEnabledBy(Fortran,Wall || Wpedantic)
326 Permit nonconforming uses of the tab character.
327
328 Wundefined-do-loop
329 Fortran Warning Var(warn_undefined_do_loop) LangEnabledBy(Fortran,Wall)
330 Warn about an invalid DO loop.
331
332 Wunderflow
333 Fortran Warning Var(warn_underflow) Init(1)
334 Warn about underflow of numerical constant expressions.
335
336 Wuninitialized
337 Fortran LangEnabledBy(Fortran,Wall)
338 ; Documented in common.opt
339
340 Wintrinsic-shadow
341 Fortran Warning Var(warn_intrinsic_shadow) LangEnabledBy(Fortran,Wall)
342 Warn if a user-procedure has the same name as an intrinsic.
343
344 Wunused
345 LangEnabledBy(Fortran,Wall)
346 ; Documented in common.opt
347
348 Wunused-dummy-argument
349 Fortran Warning Var(warn_unused_dummy_argument) LangEnabledBy(Fortran,Wall)
350 Warn about unused dummy arguments.
351
352 Wzerotrip
353 Fortran Warning Var(warn_zerotrip) LangEnabledBy(Fortran,Wall)
354 Warn about zero-trip DO loops.
355
356 cpp
357 Fortran Negative(nocpp)
358 Enable preprocessing.
359
360 cpp=
361 Fortran Joined Negative(nocpp) Undocumented NoDWARFRecord
362 ; Internal option generated by specs from -cpp.
363
364 nocpp
365 Fortran Negative(cpp)
366 Disable preprocessing.
367
368 d
369 Fortran Joined
370 ; Documented in common.opt
371
372 fallow-argument-mismatch
373 Fortran Var(flag_allow_argument_mismatch) LangEnabledBy(Fortran,std=legacy)
374 Accept argument mismatches in procedure calls.
375
376 faggressive-function-elimination
377 Fortran Var(flag_aggressive_function_elimination)
378 Eliminate multiple function invocations also for impure functions.
379
380 falign-commons
381 Fortran Var(flag_align_commons) Init(1)
382 Enable alignment of COMMON blocks.
383
384 fall-intrinsics
385 Fortran RejectNegative Var(flag_all_intrinsics)
386 All intrinsics procedures are available regardless of selected standard.
387
388 fallow-invalid-boz
389 Fortran RejectNegative Var(flag_allow_invalid_boz)
390 Allow a BOZ literal constant to appear in an invalid context and with X instead of Z.
391
392 fallow-leading-underscore
393 Fortran Undocumented Var(flag_allow_leading_underscore)
394 ; For internal use only: allow the first character of symbol names to be an underscore
395
396 fautomatic
397 Fortran Var(flag_automatic) Init(1)
398 Do not treat local variables and COMMON blocks as if they were named in SAVE statements.
399
400 fbackslash
401 Fortran Var(flag_backslash)
402 Specify that backslash in string introduces an escape character.
403
404 fbacktrace
405 Fortran Var(flag_backtrace) Init(1)
406 Produce a backtrace when a runtime error is encountered.
407
408 fblas-matmul-limit=
409 Fortran RejectNegative Joined UInteger Var(flag_blas_matmul_limit) Init(30)
410 -fblas-matmul-limit=<n> Size of the smallest matrix for which matmul will use BLAS.
411
412 fcheck-array-temporaries
413 Fortran
414 Produce a warning at runtime if a array temporary has been created for a procedure argument.
415
416 fconvert=
417 Fortran RejectNegative Joined Enum(gfc_convert) Var(flag_convert) Init(GFC_FLAG_CONVERT_NATIVE)
418 -fconvert=<big-endian|little-endian|native|swap> The endianness used for unformatted files.
419
420 Enum
421 Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianness value: %qs)
422
423 EnumValue
424 Enum(gfc_convert) String(big-endian) Value(GFC_FLAG_CONVERT_BIG)
425
426 EnumValue
427 Enum(gfc_convert) String(little-endian) Value(GFC_FLAG_CONVERT_LITTLE)
428
429 EnumValue
430 Enum(gfc_convert) String(native) Value(GFC_FLAG_CONVERT_NATIVE)
431
432 EnumValue
433 Enum(gfc_convert) String(swap) Value(GFC_FLAG_CONVERT_SWAP)
434
435 fcray-pointer
436 Fortran Var(flag_cray_pointer)
437 Use the Cray Pointer extension.
438
439 fc-prototypes
440 Fortran Var(flag_c_prototypes)
441 Generate C prototypes from BIND(C) declarations.
442
443 fc-prototypes-external
444 Fortran Var(flag_c_prototypes_external)
445 Generate C prototypes from non-BIND(C) external procedure definitions.
446
447 fd-lines-as-code
448 Fortran RejectNegative
449 Ignore 'D' in column one in fixed form.
450
451 fd-lines-as-comments
452 Fortran RejectNegative
453 Treat lines with 'D' in column one as comments.
454
455 fdebug-aux-vars
456 Fortran Var(flag_debug_aux_vars)
457 Issue debug information for compiler-generated auxiliary variables.
458
459 fdec
460 Fortran Var(flag_dec)
461 Enable all DEC language extensions.
462
463 fdec-blank-format-item
464 Fortran Var(flag_dec_blank_format_item)
465 Enable the use of blank format items in format strings.
466
467 fdec-char-conversions
468 Fortran Var(flag_dec_char_conversions)
469 Enable the use of character literals in assignments and data statements
470 for non-character variables.
471
472 fdec-include
473 Fortran Var(flag_dec_include)
474 Enable legacy parsing of INCLUDE as statement.
475
476 fdec-format-defaults
477 Fortran Var(flag_dec_format_defaults)
478 Enable default widths for i, f and g format specifiers.
479
480 fdec-intrinsic-ints
481 Fortran Var(flag_dec_intrinsic_ints)
482 Enable kind-specific variants of integer intrinsic functions.
483
484 fdec-math
485 Fortran Var(flag_dec_math)
486 Enable legacy math intrinsics for compatibility.
487
488 fdec-structure
489 Fortran Var(flag_dec_structure)
490 Enable support for DEC STRUCTURE/RECORD.
491
492 fdec-static
493 Fortran Var(flag_dec_static)
494 Enable DEC-style STATIC and AUTOMATIC attributes.
495
496 fdefault-double-8
497 Fortran Var(flag_default_double)
498 Set the default double precision kind to an 8 byte wide type.
499
500 fdefault-integer-8
501 Fortran Var(flag_default_integer)
502 Set the default integer kind to an 8 byte wide type.
503
504 fdefault-real-8
505 Fortran Var(flag_default_real_8)
506 Set the default real kind to an 8 byte wide type.
507
508 fdefault-real-10
509 Fortran Var(flag_default_real_10)
510 Set the default real kind to an 10 byte wide type.
511
512 fdefault-real-16
513 Fortran Var(flag_default_real_16)
514 Set the default real kind to an 16 byte wide type.
515
516 fdollar-ok
517 Fortran Var(flag_dollar_ok)
518 Allow dollar signs in entity names.
519
520 fdump-core
521 Fortran Ignore
522 Does nothing. Preserved for backward compatibility.
523
524 fdump-fortran-original
525 Fortran Var(flag_dump_fortran_original)
526 Display the code tree after parsing.
527
528 fdump-fortran-optimized
529 Fortran Var(flag_dump_fortran_optimized)
530 Display the code tree after front end optimization.
531
532 fdump-fortran-global
533 Fortran Var(flag_dump_fortran_global)
534 Display the global symbol table after parsing.
535
536 fdump-parse-tree
537 Fortran Alias(fdump-fortran-original)
538 Display the code tree after parsing; deprecated option.
539
540 fexternal-blas
541 Fortran Var(flag_external_blas)
542 Specify that an external BLAS library should be used for matmul calls on large-size arrays.
543
544 ff2c
545 Fortran Var(flag_f2c)
546 Use f2c calling convention.
547
548 ffixed-form
549 Fortran RejectNegative
550 Assume that the source file is fixed form.
551
552 ftest-forall-temp
553 Fortran Var(flag_test_forall_temp) Init(0)
554 Force creation of temporary to test infrequently-executed forall code.
555
556 finteger-4-integer-8
557 Fortran RejectNegative Var(flag_integer4_kind,8)
558 Interpret any INTEGER(4) as an INTEGER(8).
559
560 fintrinsic-modules-path
561 Fortran RejectNegative Separate
562 Specify where to find the compiled intrinsic modules.
563
564 fintrinsic-modules-path=
565 Fortran RejectNegative Joined
566 Specify where to find the compiled intrinsic modules.
567
568 ffixed-line-length-none
569 Fortran RejectNegative Var(flag_fixed_line_length,0)
570 Allow arbitrary character line width in fixed mode.
571
572 ffixed-line-length-
573 Fortran RejectNegative Joined UInteger Var(flag_fixed_line_length) Init(72)
574 -ffixed-line-length-<n> Use n as character line width in fixed mode.
575
576 fpad-source
577 Fortran Var(flag_pad_source) Init(1)
578 Pad shorter fixed form lines to line width with spaces.
579
580 ffpe-trap=
581 Fortran RejectNegative JoinedOrMissing
582 -ffpe-trap=[...] Stop on following floating point exceptions.
583
584 ffpe-summary=
585 Fortran RejectNegative JoinedOrMissing
586 -ffpe-summary=[...] Print summary of floating point exceptions.
587
588 ffree-form
589 Fortran RejectNegative
590 Assume that the source file is free form.
591
592 ffree-line-length-none
593 Fortran RejectNegative Var(flag_free_line_length,0)
594 Allow arbitrary character line width in free mode.
595
596 ffree-line-length-
597 Fortran RejectNegative Joined UInteger Var(flag_free_line_length) Init(132)
598 -ffree-line-length-<n> Use n as character line width in free mode.
599
600 ffrontend-loop-interchange
601 Fortran Var(flag_frontend_loop_interchange) Init(-1)
602 Try to interchange loops if profitable.
603
604 ffrontend-optimize
605 Fortran Var(flag_frontend_optimize) Init(-1)
606 Enable front end optimization.
607
608 fimplicit-none
609 Fortran Var(flag_implicit_none)
610 Specify that no implicit typing is allowed, unless overridden by explicit IMPLICIT statements.
611
612 finit-character=
613 Fortran RejectNegative Joined UInteger
614 -finit-character=<n> Initialize local character variables to ASCII value n.
615
616 finit-derived
617 Fortran Var(flag_init_derived)
618 Initialize components of derived type variables according to other init flags.
619
620 finit-integer=
621 Fortran RejectNegative Joined
622 -finit-integer=<n> Initialize local integer variables to n.
623
624 finit-local-zero
625 Fortran
626 Initialize local variables to zero (from g77).
627
628 finit-logical=
629 Fortran RejectNegative Joined
630 -finit-logical=<true|false> Initialize local logical variables.
631
632 finit-real=
633 Fortran RejectNegative ToLower Joined Enum(gfc_init_local_real) Var(flag_init_real) Init(GFC_INIT_REAL_OFF)
634 -finit-real=<zero|snan|nan|inf|-inf> Initialize local real variables.
635
636 Enum
637 Name(gfc_init_local_real) Type(enum gfc_init_local_real) UnknownError(Unrecognized option to floating-point init value: %qs)
638
639 EnumValue
640 Enum(gfc_init_local_real) String(zero) Value(GFC_INIT_REAL_ZERO)
641
642 EnumValue
643 Enum(gfc_init_local_real) String(snan) Value(GFC_INIT_REAL_SNAN)
644
645 EnumValue
646 Enum(gfc_init_local_real) String(nan) Value(GFC_INIT_REAL_NAN)
647
648 EnumValue
649 Enum(gfc_init_local_real) String(inf) Value(GFC_INIT_REAL_INF)
650
651 EnumValue
652 Enum(gfc_init_local_real) String(-inf) Value(GFC_INIT_REAL_NEG_INF)
653
654 finline-arg-packing
655 Fortran Var(flag_inline_arg_packing) Init(-1)
656 -finline-arg-packing Perform argument packing inline.
657
658 finline-matmul-limit=
659 Fortran RejectNegative Joined UInteger Var(flag_inline_matmul_limit) Init(-1)
660 -finline-matmul-limit=<n> Specify the size of the largest matrix for which matmul will be inlined.
661
662 fmax-array-constructor=
663 Fortran RejectNegative Joined UInteger Var(flag_max_array_constructor) Init(65535)
664 -fmax-array-constructor=<n> Maximum number of objects in an array constructor.
665
666 fmax-identifier-length=
667 Fortran RejectNegative Joined UInteger
668 -fmax-identifier-length=<n> Maximum identifier length.
669
670 fmax-subrecord-length=
671 Fortran RejectNegative Joined UInteger Var(flag_max_subrecord_length)
672 -fmax-subrecord-length=<n> Maximum length for subrecords.
673
674 fmax-stack-var-size=
675 Fortran RejectNegative Joined UInteger Var(flag_max_stack_var_size) Init(-2)
676 -fmax-stack-var-size=<n> Size in bytes of the largest array that will be put on the stack.
677
678 fstack-arrays
679 Fortran Var(flag_stack_arrays) Init(-1)
680 Put all local arrays on stack.
681
682 fmodule-private
683 Fortran Var(flag_module_private)
684 Set default accessibility of module entities to PRIVATE.
685
686 fopenacc
687 Fortran LTO
688 ; Documented in C
689
690 fopenacc-dim=
691 Fortran LTO Joined Var(flag_openacc_dims)
692 ; Documented in C
693
694 fopenacc-kernels=
695 Fortran RejectNegative Joined Enum(openacc_kernels) Var(flag_openacc_kernels) Init(OPENACC_KERNELS_PARLOOPS)
696 ; Documented in C
697
698 fopenmp
699 Fortran LTO
700 ; Documented in C
701
702 fopenmp-simd
703 Fortran
704 ; Documented in C
705
706 fpack-derived
707 Fortran Var(flag_pack_derived)
708 Try to lay out derived types as compactly as possible.
709
710 fpreprocessed
711 Fortran
712 ; Documented in C
713
714 fprotect-parens
715 Fortran Var(flag_protect_parens) Init(-1)
716 Protect parentheses in expressions.
717
718 fpre-include=
719 Fortran RejectNegative Joined Var(flag_pre_include) Undocumented
720 Path to header file that should be pre-included before each compilation unit.
721
722 frange-check
723 Fortran Var(flag_range_check) Init(1)
724 Enable range checking during compilation.
725
726 freal-4-real-8
727 Fortran RejectNegative Var(flag_real4_kind,8)
728 Interpret any REAL(4) as a REAL(8).
729
730 freal-4-real-10
731 Fortran RejectNegative Var(flag_real4_kind,10)
732 Interpret any REAL(4) as a REAL(10).
733
734 freal-4-real-16
735 Fortran RejectNegative Var(flag_real4_kind,16)
736 Interpret any REAL(4) as a REAL(16).
737
738 freal-8-real-4
739 Fortran RejectNegative Var(flag_real8_kind,4)
740 Interpret any REAL(8) as a REAL(4).
741
742 freal-8-real-10
743 Fortran RejectNegative Var(flag_real8_kind,10)
744 Interpret any REAL(8) as a REAL(10).
745
746 freal-8-real-16
747 Fortran RejectNegative Var(flag_real8_kind,16)
748 Interpret any REAL(8) as a REAL(16).
749
750 frealloc-lhs
751 Fortran Var(flag_realloc_lhs) Init(-1)
752 Reallocate the LHS in assignments.
753
754 frecord-marker=4
755 Fortran RejectNegative Var(flag_record_marker,4)
756 Use a 4-byte record marker for unformatted files.
757
758 frecord-marker=8
759 Fortran RejectNegative Var(flag_record_marker,8)
760 Use an 8-byte record marker for unformatted files.
761
762 frecursive
763 Fortran Var(flag_recursive)
764 Allocate local variables on the stack to allow indirect recursion.
765
766 frepack-arrays
767 Fortran Var(flag_repack_arrays)
768 Copy array sections into a contiguous block on procedure entry.
769
770 fcoarray=
771 Fortran RejectNegative Joined Enum(gfc_fcoarray) Var(flag_coarray) Init(GFC_FCOARRAY_NONE)
772 -fcoarray=<none|single|lib> Specify which coarray parallelization should be used.
773
774 Enum
775 Name(gfc_fcoarray) Type(enum gfc_fcoarray) UnknownError(Unrecognized option: %qs)
776
777 EnumValue
778 Enum(gfc_fcoarray) String(none) Value(GFC_FCOARRAY_NONE)
779
780 EnumValue
781 Enum(gfc_fcoarray) String(single) Value(GFC_FCOARRAY_SINGLE)
782
783 EnumValue
784 Enum(gfc_fcoarray) String(lib) Value(GFC_FCOARRAY_LIB)
785
786 fcheck=
787 Fortran RejectNegative JoinedOrMissing
788 -fcheck=[...] Specify which runtime checks are to be performed.
789
790 fsecond-underscore
791 Fortran Var(flag_second_underscore) Init(-1)
792 Append a second underscore if the name already contains an underscore.
793
794 fshort-enums
795 Fortran Var(flag_short_enums)
796 ; Documented in C
797
798 fsign-zero
799 Fortran Var(flag_sign_zero) Init(1)
800 Apply negative sign to zero values.
801
802 ftail-call-workaround
803 Fortran Alias(ftail-call-workaround=,1,0)
804
805 ftail-call-workaround=
806 Fortran RejectNegative Joined UInteger IntegerRange(0, 2) Var(flag_tail_call_workaround) Init(1)
807 Disallow tail call optimization when a calling routine may have omitted character lengths.
808
809 funderscoring
810 Fortran Var(flag_underscoring) Init(1)
811 Append underscores to externally visible names.
812
813 fwhole-file
814 Fortran Ignore
815 Does nothing. Preserved for backward compatibility.
816
817 fworking-directory
818 Fortran
819 ; Documented in C
820
821 idirafter
822 Fortran Joined Separate
823 ; Documented in C
824
825 imultilib
826 Fortran Joined Separate
827 ; Documented in C
828
829 iprefix
830 Fortran Joined Separate
831 ; Documented in C
832
833 iquote
834 Fortran Joined Separate
835 ; Documented in C
836
837 isysroot
838 Fortran Joined Separate
839 ; Documented in C
840
841 isystem
842 Fortran Joined Separate
843 ; Documented in C
844
845 nostdinc
846 Fortran
847 ; Documented in C
848
849 o
850 Fortran Joined Separate
851 ; Documented in common.opt
852
853 static-libgfortran
854 Fortran
855 Statically link the GNU Fortran helper library (libgfortran).
856
857 std=f2003
858 Fortran
859 Conform to the ISO Fortran 2003 standard.
860
861 std=f2008
862 Fortran
863 Conform to the ISO Fortran 2008 standard.
864
865 std=f2008ts
866 Fortran
867 Conform to the ISO Fortran 2008 standard including TS 29113.
868
869 std=f2018
870 Fortran
871 Conform to the ISO Fortran 2018 standard.
872
873 std=f95
874 Fortran
875 Conform to the ISO Fortran 95 standard.
876
877 std=gnu
878 Fortran
879 Conform to nothing in particular.
880
881 std=legacy
882 Fortran
883 Accept extensions to support legacy code.
884
885 undef
886 Fortran
887 ; Documented in C
888
889 v
890 Fortran
891 ; Documented in C
892
893 ; This comment is to ensure we retain the blank line above.