https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57048

--- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb  2 16:57:39 2019
New Revision: 268478

URL: https://gcc.gnu.org/viewcvs?rev=268478&root=gcc&view=rev
Log:
2019-02-02  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/57048
        Backport from trunk
        * interface.c (gfc_compare_types): If a derived type and an
        integer both have a derived type, and they are identical,
        this is a C binding type and compares equal.

2019-02-02  Thomas Koenig  <tkoe...@gcc.gnu.org>

        PR fortran/57048
        Backport from trunk
        * gfortran.dg/c_funptr_1.f90: New file.
        * gfortran.dg/c_funptr_1_mod.f90: New file.


Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/c_funptr_1.f90
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/c_funptr_1_mod.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/interface.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to