diff options
author | Andre Vehreschild <vehre@gcc.gnu.org> | 2024-08-15 13:49:49 +0200 |
---|---|---|
committer | Andre Vehreschild <vehre@gcc.gnu.org> | 2024-10-14 15:35:04 +0200 |
commit | fd1a2f63bcac14cbedb8c8b1790525b9642567d9 (patch) | |
tree | ea19105ba61063ca02adfcabcf3f6f10b5915f2b /libcpp/errors.cc | |
parent | ec3d3ea60a55f25a743a037adda7d10d03ca73b2 (diff) | |
download | gcc-fd1a2f63bcac14cbedb8c8b1790525b9642567d9.zip gcc-fd1a2f63bcac14cbedb8c8b1790525b9642567d9.tar.gz gcc-fd1a2f63bcac14cbedb8c8b1790525b9642567d9.tar.bz2 |
Allow for class type coarray parameters. [PR77871]
gcc/fortran/ChangeLog:
PR fortran/77871
* trans-expr.cc (gfc_conv_derived_to_class): Assign token when
converting a coarray to class.
(gfc_get_tree_for_caf_expr): For classes get the caf decl from
the saved descriptor.
(gfc_get_caf_token_offset):Assert that coarray=lib is set and
cover more cases where the tree having the coarray token can be.
* trans-intrinsic.cc (gfc_conv_intrinsic_caf_get): Use unified
test for pointers.
gcc/testsuite/ChangeLog:
* gfortran.dg/coarray/dummy_3.f90: New test.
Diffstat (limited to 'libcpp/errors.cc')
0 files changed, 0 insertions, 0 deletions