re PR fortran/91497 (-Wconversion warns when doing explicit type conversion)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 3 Oct 2019 20:46:26 +0000 (20:46 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 3 Oct 2019 20:46:26 +0000 (20:46 +0000)
commite23390d29e19a8a6aea06fd3c4cc3990c9977ac8
treea5f8481646a3870a8fef6c6dcdafad2ce7158667
parent24ec3cc957c4181d8da9972cb2aa212a3e0cec1c
re PR fortran/91497 (-Wconversion warns when doing explicit type conversion)

2019-10-03  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91497
* simplify.c (gfc_simplify_dble, simplify_intconv, gfc_simplify_real,
gfc_simplify_sngl): Disable -Wconversion and -Wconversion-extra
warnings for explicit conversion of literal constants.

2019-10-03  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91497
* gfortran.dg/pr91497.f90: New test.

From-SVN: r276532
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr91497.f90 [new file with mode: 0644]