PR fortran/92470 Fixes for CFI_address
authorTobias Burnus <tobias@codesourcery.com>
Wed, 13 Nov 2019 11:13:57 +0000 (11:13 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Wed, 13 Nov 2019 11:13:57 +0000 (12:13 +0100)
commit46927ade0f5933c4eb22b049996fa15080b7f652
tree83a041f06768458e390fa467c2bc8a32bd1bbf36
parent0302955aeb7133bb3ff0a0e7673f0ca33152f036
PR fortran/92470 Fixes for CFI_address

        libgfortran/
        PR fortran/92470
        * runtime/ISO_Fortran_binding.c (CFI_establish): Set lower_bound to 0
        also for CFI_attribute_other.

        gcc/testsuite/
        PR fortran/92470
        * gfortran.dg/ISO_Fortran_binding_1.c (establish_c): Add assert for
        lower_bound == 0.

From-SVN: r278128
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c
libgfortran/ChangeLog
libgfortran/runtime/ISO_Fortran_binding.c