]> git.ipfire.org Git - thirdparty/gcc.git/commit
Some naming fixes; fix handling of coarrays which are components.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 9 Nov 2020 20:06:28 +0000 (21:06 +0100)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 9 Nov 2020 20:06:28 +0000 (21:06 +0100)
commitabc2c4bf5d39f9a7a91f45317f6eadc302792d6b
tree66188c7fa4afae8a88b33d6e6a2a851c3bbdadf9
parent34186331bdeedb5a8ecae0a9a95d87e8624ea726
Some naming fixes; fix handling of coarrays which are components.

gcc/fortran/ChangeLog:

* resolve.c (fixup_shared_coarray_args): Symbol does not
have to have a codimension.
* trans-array.c (gfc_native_coarray_add_this_image_offset):
Rename to...
(cas_add_this_image_offset): this.
(cas_array_ref): New function.
(gfc_conv_ss_descriptor): Use it; use cas_add_this_image_offset.
(gfc_conv_array_ref): Likewise.
(gfc_native_coarray_get_allocation_type): Rename to...
(gfc_cas_get_allocation_type): this.
(gfc_allocate_native_coarray): Rename to...
(gfc_allocate_shared_coarray): this.
(gfc_array_allocate): Use new functionn names.
(gfc_get_dataptr_offset): Use cas_array_ref; fix logic.
* trans-array.h (gfc_native_coarray_get_allocation_type): Rename
prototype to...
(gfc_cas_get_allocation_type): this.
(gfc_allocate_native_coarray): Rename prototype to...
(gfc_allocate_shared_coarray): this.
* trans-decl.c (gfc_trans_native_coarray): Rename to...
(gfc_trans_shared_coarray): This. Use changed function names.
(gfc_trans_native_coarray_static): Rename to...
(gfc_trans_shared_coarray_static): this.
(gfc_trans_native_coarray_inline): Rename to...
(gfc_trans_shared_coarray_inline): this.
(gfc_trans_deferred_vars): Use new function names.
(gfc_create_module_variable): Use new function names.
* trans-stmt.c (gfc_trans_deallocate): Likewise.
gcc/fortran/resolve.c
gcc/fortran/trans-array.c
gcc/fortran/trans-array.h
gcc/fortran/trans-decl.c
gcc/fortran/trans-stmt.c