comparison gcc/fortran/lang.opt @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 ; Options for the Fortran front end. 1 ; Options for the Fortran front end.
2 ; Copyright (C) 2003-2018 Free Software Foundation, Inc. 2 ; Copyright (C) 2003-2020 Free Software Foundation, Inc.
3 ; 3 ;
4 ; This file is part of GCC. 4 ; This file is part of GCC.
5 ; 5 ;
6 ; GCC is free software; you can redistribute it and/or modify it under 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 7 ; the terms of the GNU General Public License as published by the Free
208 Warray-temporaries 208 Warray-temporaries
209 Fortran Warning Var(warn_array_temporaries) 209 Fortran Warning Var(warn_array_temporaries)
210 Warn about creation of array temporaries. 210 Warn about creation of array temporaries.
211 211
212 Wargument-mismatch 212 Wargument-mismatch
213 Fortran Warning Var(warn_argument_mismatch) Init(1) 213 Fortran WarnRemoved
214 Warn about type and rank mismatches between arguments and parameters. 214 Does nothing. Preserved for backward compatibility.
215 215
216 Wc-binding-type 216 Wc-binding-type
217 Fortran Var(warn_c_binding_type) Warning LangEnabledBy(Fortran,Wall) 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. 218 Warn if the type of a variable might be not interoperable with C.
219 219
287 287
288 Wopenmp-simd 288 Wopenmp-simd
289 Fortran 289 Fortran
290 ; Documented in C 290 ; Documented in C
291 291
292 Woverwrite-recursive
293 Fortran Warning Var(warn_overwrite_recursive) Init(1)
294 Warn that -fno-automatic may break recursion.
295
292 Wpedantic 296 Wpedantic
293 Fortran 297 Fortran
294 ; Documented in common.opt 298 ; Documented in common.opt
295 299
296 Wreal-q-constant 300 Wreal-q-constant
363 367
364 d 368 d
365 Fortran Joined 369 Fortran Joined
366 ; Documented in common.opt 370 ; Documented in common.opt
367 371
372 fallow-argument-mismatch
373 Fortran Var(flag_allow_argument_mismatch) LangEnabledBy(Fortran,std=legacy)
374 Accept argument mismatches in procedure calls.
375
368 faggressive-function-elimination 376 faggressive-function-elimination
369 Fortran Var(flag_aggressive_function_elimination) 377 Fortran Var(flag_aggressive_function_elimination)
370 Eliminate multiple function invocations also for impure functions. 378 Eliminate multiple function invocations also for impure functions.
371 379
372 falign-commons 380 falign-commons
375 383
376 fall-intrinsics 384 fall-intrinsics
377 Fortran RejectNegative Var(flag_all_intrinsics) 385 Fortran RejectNegative Var(flag_all_intrinsics)
378 All intrinsics procedures are available regardless of selected standard. 386 All intrinsics procedures are available regardless of selected standard.
379 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
380 fallow-leading-underscore 392 fallow-leading-underscore
381 Fortran Undocumented Var(flag_allow_leading_underscore) 393 Fortran Undocumented Var(flag_allow_leading_underscore)
382 ; For internal use only: allow the first character of symbol names to be an underscore 394 ; For internal use only: allow the first character of symbol names to be an underscore
383 395
384 fautomatic 396 fautomatic
426 438
427 fc-prototypes 439 fc-prototypes
428 Fortran Var(flag_c_prototypes) 440 Fortran Var(flag_c_prototypes)
429 Generate C prototypes from BIND(C) declarations. 441 Generate C prototypes from BIND(C) declarations.
430 442
443 fc-prototypes-external
444 Fortran Var(flag_c_prototypes_external)
445 Generate C prototypes from non-BIND(C) external procedure definitions.
446
431 fd-lines-as-code 447 fd-lines-as-code
432 Fortran RejectNegative 448 Fortran RejectNegative
433 Ignore 'D' in column one in fixed form. 449 Ignore 'D' in column one in fixed form.
434 450
435 fd-lines-as-comments 451 fd-lines-as-comments
438 454
439 fdec 455 fdec
440 Fortran Var(flag_dec) 456 Fortran Var(flag_dec)
441 Enable all DEC language extensions. 457 Enable all DEC language extensions.
442 458
459 fdec-blank-format-item
460 Fortran Var(flag_dec_blank_format_item)
461 Enable the use of blank format items in format strings.
462
463 fdec-char-conversions
464 Fortran Var(flag_dec_char_conversions)
465 Enable the use of character literals in assignments and data statements
466 for non-character variables.
467
468 fdec-include
469 Fortran Var(flag_dec_include)
470 Enable legacy parsing of INCLUDE as statement.
471
472 fdec-format-defaults
473 Fortran Var(flag_dec_format_defaults)
474 Enable default widths for i, f and g format specifiers.
475
443 fdec-intrinsic-ints 476 fdec-intrinsic-ints
444 Fortran Var(flag_dec_intrinsic_ints) 477 Fortran Var(flag_dec_intrinsic_ints)
445 Enable kind-specific variants of integer intrinsic functions. 478 Enable kind-specific variants of integer intrinsic functions.
446 479
447 fdec-math 480 fdec-math
490 523
491 fdump-fortran-optimized 524 fdump-fortran-optimized
492 Fortran Var(flag_dump_fortran_optimized) 525 Fortran Var(flag_dump_fortran_optimized)
493 Display the code tree after front end optimization. 526 Display the code tree after front end optimization.
494 527
528 fdump-fortran-global
529 Fortran Var(flag_dump_fortran_global)
530 Display the global symbol table after parsing.
531
495 fdump-parse-tree 532 fdump-parse-tree
496 Fortran Alias(fdump-fortran-original) 533 Fortran Alias(fdump-fortran-original)
497 Display the code tree after parsing; deprecated option. 534 Display the code tree after parsing; deprecated option.
498 535
499 fexternal-blas 536 fexternal-blas
530 567
531 ffixed-line-length- 568 ffixed-line-length-
532 Fortran RejectNegative Joined UInteger Var(flag_fixed_line_length) Init(72) 569 Fortran RejectNegative Joined UInteger Var(flag_fixed_line_length) Init(72)
533 -ffixed-line-length-<n> Use n as character line width in fixed mode. 570 -ffixed-line-length-<n> Use n as character line width in fixed mode.
534 571
572 fpad-source
573 Fortran Var(flag_pad_source) Init(1)
574 Pad shorter fixed form lines to line width with spaces.
575
535 ffpe-trap= 576 ffpe-trap=
536 Fortran RejectNegative JoinedOrMissing 577 Fortran RejectNegative JoinedOrMissing
537 -ffpe-trap=[...] Stop on following floating point exceptions. 578 -ffpe-trap=[...] Stop on following floating point exceptions.
538 579
539 ffpe-summary= 580 ffpe-summary=
604 Enum(gfc_init_local_real) String(inf) Value(GFC_INIT_REAL_INF) 645 Enum(gfc_init_local_real) String(inf) Value(GFC_INIT_REAL_INF)
605 646
606 EnumValue 647 EnumValue
607 Enum(gfc_init_local_real) String(-inf) Value(GFC_INIT_REAL_NEG_INF) 648 Enum(gfc_init_local_real) String(-inf) Value(GFC_INIT_REAL_NEG_INF)
608 649
650 finline-arg-packing
651 Fortran Var(flag_inline_arg_packing) Init(-1)
652 -finline-arg-packing Perform argument packing inline.
653
609 finline-matmul-limit= 654 finline-matmul-limit=
610 Fortran RejectNegative Joined UInteger Var(flag_inline_matmul_limit) Init(-1) 655 Fortran RejectNegative Joined UInteger Var(flag_inline_matmul_limit) Init(-1)
611 -finline-matmul-limit=<n> Specify the size of the largest matrix for which matmul will be inlined. 656 -finline-matmul-limit=<n> Specify the size of the largest matrix for which matmul will be inlined.
612 657
613 fmax-array-constructor= 658 fmax-array-constructor=
660 705
661 fprotect-parens 706 fprotect-parens
662 Fortran Var(flag_protect_parens) Init(-1) 707 Fortran Var(flag_protect_parens) Init(-1)
663 Protect parentheses in expressions. 708 Protect parentheses in expressions.
664 709
710 fpre-include=
711 Fortran RejectNegative Joined Var(flag_pre_include) Undocumented
712 Path to header file that should be pre-included before each compilation unit.
713
665 frange-check 714 frange-check
666 Fortran Var(flag_range_check) Init(1) 715 Fortran Var(flag_range_check) Init(1)
667 Enable range checking during compilation. 716 Enable range checking during compilation.
668 717
669 freal-4-real-8 718 freal-4-real-8
740 789
741 fsign-zero 790 fsign-zero
742 Fortran Var(flag_sign_zero) Init(1) 791 Fortran Var(flag_sign_zero) Init(1)
743 Apply negative sign to zero values. 792 Apply negative sign to zero values.
744 793
794 ftail-call-workaround
795 Fortran Alias(ftail-call-workaround=,1,0)
796
797 ftail-call-workaround=
798 Fortran RejectNegative Joined UInteger IntegerRange(0, 2) Var(flag_tail_call_workaround) Init(1)
799 Disallow tail call optimization when a calling routine may have omitted character lengths.
800
745 funderscoring 801 funderscoring
746 Fortran Var(flag_underscoring) Init(1) 802 Fortran Var(flag_underscoring) Init(1)
747 Append underscores to externally visible names. 803 Append underscores to externally visible names.
748 804
749 fwhole-file 805 fwhole-file