re PR fortran/78221 (bogus warning: Non-zero imaginary part discarded in conversion...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 6 Nov 2016 12:27:51 +0000 (12:27 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 6 Nov 2016 12:27:51 +0000 (12:27 +0000)
commit18bb8b8a2a67091517d60b7192e454ed11e9280d
tree05bf66bb3eb08f6d3411ce520737d709a4e4a723
parent0ddd4af5f49b9cc6600ccb5adfa1f00f784709e2
re PR fortran/78221 (bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion])

2016-11-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/78221
        * arith.c (gfc_complex2real):  Change gfc_warning_now to
        gfc_warning.

2016-11-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/78221
        * gfortran.dg/warn_conversion_9.f90:  New test.

From-SVN: r241884
gcc/fortran/ChangeLog
gcc/fortran/arith.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/warn_conversion_9.f90 [new file with mode: 0644]