https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67219
--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sun Oct 30 18:28:33 2016 New Revision: 241690 URL: https://gcc.gnu.org/viewcvs?rev=241690&root=gcc&view=rev Log: 2016-10-30 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/67219 * arith.c (gfc_int2real): Change gfc_warning_now to gfc_warning. * primary.c (match_complex_constant): If there is no comma, throw away any warning which might have been issued by gfc_int2real. 2016-10-30 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/67219 * gfortran.dg/pr67219.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr67219.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/arith.c branches/gcc-6-branch/gcc/fortran/primary.c branches/gcc-6-branch/gcc/testsuite/ChangeLog