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