diff options
author | Harald Anlauf <anlauf@gmx.de> | 2024-02-13 20:19:10 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2024-02-13 20:19:10 +0100 |
commit | f4935df217ad89f884f908f39086b322e80123d0 (patch) | |
tree | 21bbe7e331cbb011e33081a7f55437ebc735a8f0 /gcc/cp/module.cc | |
parent | 19ac327de421fe05916e234e3450e6e1cc5c935c (diff) | |
download | gcc-f4935df217ad89f884f908f39086b322e80123d0.zip gcc-f4935df217ad89f884f908f39086b322e80123d0.tar.gz gcc-f4935df217ad89f884f908f39086b322e80123d0.tar.bz2 |
Fortran: fix passing of optional dummies to bind(c) procedures [PR113866]
PR fortran/113866
gcc/fortran/ChangeLog:
* trans-expr.cc (gfc_conv_procedure_call): When passing an optional
dummy argument to an optional dummy argument of a bind(c) procedure
and the dummy argument is passed via a CFI descriptor, no special
presence check and passing of a default NULL pointer is needed.
gcc/testsuite/ChangeLog:
* gfortran.dg/bind_c_optional-2.f90: New test.
Diffstat (limited to 'gcc/cp/module.cc')
0 files changed, 0 insertions, 0 deletions