[Bug fortran/67219] [6 Regression] Incorrect conversion warning

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Oct 30 18:51:00 GMT 2016


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  <tkoenig@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  <tkoenig@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


More information about the Gcc-bugs mailing list