Fortran] PR92277 - Fix assumed-rank array with bind(C)
authorTobias Burnus <tobias@codesourcery.com>
Thu, 31 Oct 2019 10:06:19 +0000 (10:06 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 31 Oct 2019 10:06:19 +0000 (11:06 +0100)
commit6409a3c0369313f604b349ffc53efd78d873f790
tree803e6e75e13969bc7585fbf7a45df074fea510a4
parent6773658a809fbebcdb68483cb929207150ac7e5f
Fortran] PR92277 - Fix assumed-rank array with bind(C)

        gcc/fortran/
        PR fortran/92277
        * trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Fix DECL_ARTIFICIAL
        checking.

        gcc/testsuite/
        PR fortran/92277
        * fortran.dg/pr92277.f90: New.

From-SVN: r277661
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr92277.f90 [new file with mode: 0644]