re PR fortran/82143 (add a -fdefault-real-16 flag)
authorJanus Weil <janus@gcc.gnu.org>
Sat, 23 Sep 2017 13:15:20 +0000 (15:15 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 23 Sep 2017 13:15:20 +0000 (15:15 +0200)
commitd16d81b54f29fdb8901d01125bd00464f551c1d7
treeccd358e62d41b796f12904b956dea9450ef1e93b
parent89762a83cdc24a5a9471acdc4676d150d3c71a11
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
gcc/fortran/ChangeLog
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/module.c
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/promotion_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/promotion_4.f90 [new file with mode: 0644]