Correction régression coarray_lib_move_alloc_1.f90

This commit is contained in:
Mikael Morin 2025-10-14 12:01:03 +02:00
parent 01b729b192
commit 4425a20cef
1 changed files with 4 additions and 2 deletions

View File

@ -2018,8 +2018,10 @@ gfc_copy_descriptor (stmtblock_t *block, tree dest, tree src)
if (GFC_BYTES_STRIDES_ARRAY_TYPE_P (dest_type)
== GFC_BYTES_STRIDES_ARRAY_TYPE_P (src_type)
&& TYPE_MAIN_VARIANT (dest_type)
== TYPE_MAIN_VARIANT (src_type))
&& (TYPE_CANONICAL (dest_type)
== TYPE_CANONICAL (src_type)
|| TYPE_MAIN_VARIANT (dest_type)
== TYPE_MAIN_VARIANT (src_type)))
gfc_add_modify (block, dest, src);
else
{