This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78221] [6/7 Regression] bogus warning: Non-zero imaginary part discarded in conversion [-Wconversion]


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]