diff options
Diffstat (limited to 'gcc/fortran/lang.opt')
-rw-r--r-- | gcc/fortran/lang.opt | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt index bdf5fa5fb4..4421ce4268 100644 --- a/gcc/fortran/lang.opt +++ b/gcc/fortran/lang.opt @@ -1,5 +1,5 @@ ; Options for the Fortran 95 front end. -; Copyright (C) 2003-2016 Free Software Foundation, Inc. +; Copyright (C) 2003-2017 Free Software Foundation, Inc. ; ; This file is part of GCC. ; @@ -209,6 +209,10 @@ Warray-temporaries Fortran Warning Var(warn_array_temporaries) Warn about creation of array temporaries. +Wargument-mismatch +Fortran Warning Var(warn_argument_mismatch) Init(1) +Warn about type and rank mismatches between arguments and parameters. + Wc-binding-type Fortran Var(warn_c_binding_type) Warning LangEnabledBy(Fortran,Wall) Warn if the type of a variable might be not interoperable with C. @@ -309,6 +313,10 @@ Wtabs Fortran Warning Var(warn_tabs) LangEnabledBy(Fortran,Wall || Wpedantic) Permit nonconforming uses of the tab character. +Wundefined-do-loop +Fortran Warning Var(warn_undefined_do_loop) LangEnabledBy(Fortran,Wall) +Warn about an invalid DO loop. + Wunderflow Fortran Warning Var(warn_underflow) Init(1) Warn about underflow of numerical constant expressions. @@ -351,7 +359,7 @@ Fortran Joined faggressive-function-elimination Fortran Var(flag_aggressive_function_elimination) -Eliminate multiple function invokations also for impure functions. +Eliminate multiple function invocations also for impure functions. falign-commons Fortran Var(flag_align_commons) Init(1) @@ -390,7 +398,7 @@ Fortran RejectNegative Joined Enum(gfc_convert) Var(flag_convert) Init(GFC_FLAG_ -fconvert=<big-endian|little-endian|native|swap> The endianness used for unformatted files. Enum -Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianess value: %qs) +Name(gfc_convert) Type(enum gfc_convert) UnknownError(Unrecognized option to endianness value: %qs) EnumValue Enum(gfc_convert) String(big-endian) Value(GFC_FLAG_CONVERT_BIG) @@ -417,13 +425,25 @@ Fortran RejectNegative Treat lines with 'D' in column one as comments. fdec -Fortran +Fortran Var(flag_dec) Enable all DEC language extensions. +fdec-intrinsic-ints +Fortran Var(flag_dec_intrinsic_ints) +Enable kind-specific variants of integer intrinsic functions. + +fdec-math +Fortran Var(flag_dec_math) +Enable legacy math intrinsics for compatibility. + fdec-structure -Fortran +Fortran Var(flag_dec_structure) Enable support for DEC STRUCTURE/RECORD. +fdec-static +Fortran Var(flag_dec_static) +Enable DEC-style STATIC and AUTOMATIC attributes. + fdefault-double-8 Fortran Var(flag_default_double) Set the default double precision kind to an 8 byte wide type. @@ -468,6 +488,10 @@ ffixed-form Fortran RejectNegative Assume that the source file is fixed form. +ftest-forall-temp +Fortran Var(flag_test_forall_temp) Init(0) +Force creation of temporary to test infrequently-executed forall code. + finteger-4-integer-8 Fortran RejectNegative Var(flag_integer4_kind,8) Interpret any INTEGER(4) as an INTEGER(8). @@ -520,6 +544,10 @@ finit-character= Fortran RejectNegative Joined UInteger -finit-character=<n> Initialize local character variables to ASCII value n. +finit-derived +Fortran Var(flag_init_derived) +Initialize components of derived type variables according to other init flags. + finit-integer= Fortran RejectNegative Joined -finit-integer=<n> Initialize local integer variables to n. |