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

--- Comment #13 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Sat Feb  2 16:35:47 2019
New Revision: 268476

URL: https://gcc.gnu.org/viewcvs?rev=268476&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-8-branch/gcc/testsuite/gfortran.dg/c_funptr_1.f90
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/c_funptr_1_mod.f90
Modified:
    branches/gcc-8-branch/gcc/fortran/ChangeLog
    branches/gcc-8-branch/gcc/fortran/interface.c
    branches/gcc-8-branch/gcc/testsuite/ChangeLog

Reply via email to