]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: passing of optional scalar arguments with VALUE attribute [PR113377]
authorHarald Anlauf <anlauf@gmx.de>
Sat, 20 Jan 2024 21:18:02 +0000 (22:18 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Sun, 21 Jan 2024 20:21:07 +0000 (21:21 +0100)
commit68862e5c75ef0e875e690f0880a96fc6200d1682
treea220e8530866b21623e6a8350c568ee207629fa9
parent1ead42f9836a13cbbe6a2be685f76750583ae320
Fortran: passing of optional scalar arguments with VALUE attribute [PR113377]

gcc/fortran/ChangeLog:

PR fortran/113377
* trans-expr.cc (gfc_conv_procedure_call): Fix handling of optional
scalar arguments of intrinsic type with the VALUE attribute.

gcc/testsuite/ChangeLog:

PR fortran/113377
* gfortran.dg/optional_absent_9.f90: New test.
gcc/fortran/trans-expr.cc
gcc/testsuite/gfortran.dg/optional_absent_9.f90 [new file with mode: 0644]