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.