diff options
author | Harald Anlauf <anlauf@gmx.de> | 2023-11-01 22:55:36 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-11-03 18:32:16 +0100 |
commit | 413ac2c8608cd0378955af27f69e45274b025b32 (patch) | |
tree | 1194ff3fe9da30a866c328dddae6a4489ef2206a /libgcc/fixed-bit.c | |
parent | 7ab79a40b546a1470abaf76bec74c63e9990fe47 (diff) | |
download | gcc-413ac2c8608cd0378955af27f69e45274b025b32.zip gcc-413ac2c8608cd0378955af27f69e45274b025b32.tar.gz gcc-413ac2c8608cd0378955af27f69e45274b025b32.tar.bz2 |
Fortran: passing of allocatable/pointer arguments to OPTIONAL+VALUE [PR92887]
gcc/fortran/ChangeLog:
PR fortran/92887
* trans-expr.cc (conv_cond_temp): Helper function for creation of a
conditional temporary.
(gfc_conv_procedure_call): Handle passing of allocatable or pointer
actual argument to dummy with OPTIONAL + VALUE attribute. Actual
arguments that are not allocated or associated are treated as not
present.
gcc/testsuite/ChangeLog:
PR fortran/92887
* gfortran.dg/value_optional_1.f90: New test.
Diffstat (limited to 'libgcc/fixed-bit.c')
0 files changed, 0 insertions, 0 deletions