https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78221
--- Comment #10 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Mon Nov 7 13:46:31 2016 New Revision: 241906 URL: https://gcc.gnu.org/viewcvs?rev=241906&root=gcc&view=rev Log: 2016-11-07 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/78221 * arith.c (gfc_complex2real): Change gfc_warning_now to gfc_warning. 2016-11-07 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/78221 * gfortran.dg/warn_conversion_9.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/warn_conversion_9.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/arith.c branches/gcc-6-branch/gcc/testsuite/ChangeLog