]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Allow to nullify caf token when not in ultimate component. [PR101100]
authorAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 18 Sep 2024 13:55:28 +0000 (15:55 +0200)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Tue, 24 Sep 2024 12:28:03 +0000 (14:28 +0200)
commit0c0d79c783f5c289651d76aa697b48d4505e169d
tree1f7c6ebaa976d3cd42a005040cea68dc5eca46bc
parent2249c3b459510f307b4f241ea4b14f6557035152
Fortran: Allow to nullify caf token when not in ultimate component. [PR101100]

gcc/fortran/ChangeLog:

PR fortran/101100

* trans-expr.cc (trans_caf_token_assign): Take caf-token from
decl for non ultimate coarray components.

gcc/testsuite/ChangeLog:

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