diff options
author | Janus Weil <janus@gcc.gnu.org> | 2017-09-23 15:15:20 +0200 |
---|---|---|
committer | Janus Weil <janus@gcc.gnu.org> | 2017-09-23 15:15:20 +0200 |
commit | d16d81b54f29fdb8901d01125bd00464f551c1d7 (patch) | |
tree | ccd358e62d41b796f12904b956dea9450ef1e93b /gcc/fortran/lang.opt | |
parent | 89762a83cdc24a5a9471acdc4676d150d3c71a11 (diff) | |
download | gcc-d16d81b54f29fdb8901d01125bd00464f551c1d7.zip gcc-d16d81b54f29fdb8901d01125bd00464f551c1d7.tar.gz gcc-d16d81b54f29fdb8901d01125bd00464f551c1d7.tar.bz2 |
re PR fortran/82143 (add a -fdefault-real-16 flag)
2017-09-23 Janus Weil <janus@gcc.gnu.org>
PR fortran/82143
* lang.opt: Add the options -fdefault-real-10 and -fdefault-real-16.
Rename flag_default_real to flag_default_real_8.
* invoke.texi: Add documentation.
* module.c (use_iso_fortran_env_module): flag_default_real is renamed.
* trans-types.c (gfc_init_kinds): Implement the flags
-fdefault-real-10 and -fdefault-real-16. Make -fdefault-double-8 work
without -fdefault-real-8.
2017-09-23 Janus Weil <janus@gcc.gnu.org>
PR fortran/82143
* gfortran.dg/promotion_3.f90: New test case.
* gfortran.dg/promotion_4.f90: New test case.
From-SVN: r253117
Diffstat (limited to 'gcc/fortran/lang.opt')
-rw-r--r-- | gcc/fortran/lang.opt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt index 94185da..34341e5 100644 --- a/gcc/fortran/lang.opt +++ b/gcc/fortran/lang.opt @@ -457,9 +457,17 @@ Fortran Var(flag_default_integer) Set the default integer kind to an 8 byte wide type. fdefault-real-8 -Fortran Var(flag_default_real) +Fortran Var(flag_default_real_8) Set the default real kind to an 8 byte wide type. +fdefault-real-10 +Fortran Var(flag_default_real_10) +Set the default real kind to an 10 byte wide type. + +fdefault-real-16 +Fortran Var(flag_default_real_16) +Set the default real kind to an 16 byte wide type. + fdollar-ok Fortran Var(flag_dollar_ok) Allow dollar signs in entity names. |