]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Fix gfc_conv_gfc_desc_to_cfi_desc with NULL [PR104126]
authorTobias Burnus <tobias@codesourcery.com>
Tue, 8 Mar 2022 23:26:14 +0000 (00:26 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 8 Mar 2022 23:27:45 +0000 (00:27 +0100)
commit48777d982add74cef14ec6704a622fce4d4a2609
tree00b4f1bbe6ee378ffda50cf566e7e79701a593db
parent3093f8a18e7a9c5a9bba976d58a2f91033e7f35a
Fortran: Fix gfc_conv_gfc_desc_to_cfi_desc with NULL [PR104126]

PR fortran/104126
gcc/fortran/ChangeLog:

* trans-expr.cc (gfc_conv_gfc_desc_to_cfi_desc): Handle NULL
without MOLD.

gcc/testsuite/ChangeLog:

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