[Bug fortran/67219] [6/7 Regression] Incorrect conversion warning
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 30 18:29:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67219
--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sun Oct 30 17:48:27 2016
New Revision: 241689
URL: https://gcc.gnu.org/viewcvs?rev=241689&root=gcc&view=rev
Log:
2016-10-30 Thomas Koenig <tkoenig@gcc.gnu.org>
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 <tkoenig@gcc.gnu.org>
PR fortran/67219
* gfortran.dg/pr67219.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr67219.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/arith.c
trunk/gcc/fortran/primary.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list