aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-decl.c
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2020-08-28 13:54:10 +0200
committerTobias Burnus <tobias@codesourcery.com>2020-08-28 13:54:10 +0200
commitcb3c3d63315ceb4dc262e5efb83b42c73c43387d (patch)
treea31c6b5ab69e7883905bc4591157d059fefc8382 /gcc/c/c-decl.c
parentb648814c02eb418aaf27897c480452172ee96303 (diff)
downloadgcc-cb3c3d63315ceb4dc262e5efb83b42c73c43387d.zip
gcc-cb3c3d63315ceb4dc262e5efb83b42c73c43387d.tar.gz
gcc-cb3c3d63315ceb4dc262e5efb83b42c73c43387d.tar.bz2
Fortran: Fix absent-optional handling for nondescriptor arrays (PR94672)
gcc/fortran/ChangeLog: PR fortran/94672 * trans-array.c (gfc_trans_g77_array): Check against the parm decl and set the nonparm decl used for the is-present check to NULL if absent. gcc/testsuite/ChangeLog: PR fortran/94672 * gfortran.dg/optional_assumed_charlen_2.f90: New test.
Diffstat (limited to 'gcc/c/c-decl.c')
0 files changed, 0 insertions, 0 deletions