trans-expr.c (gfc_trans_assignment_1): Character kind conversion may create a loop...
authorAndre Vehreschild <vehre@gcc.gnu.org>
Sat, 4 Nov 2017 14:35:45 +0000 (15:35 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Sat, 4 Nov 2017 14:35:45 +0000 (15:35 +0100)
commit7c4acac3a0798a62340897eae76da5037467135e
tree2f811bb90155e0c76c2a98b08976dad434ff5674
parent0260e27840e7de9b5ade7c323ee61cca61e5631f
trans-expr.c (gfc_trans_assignment_1): Character kind conversion may create a loop variant temporary, too.

gcc/fortran/ChangeLog:

2017-11-04  Andre Vehreschild  <vehre@gcc.gnu.org>

* trans-expr.c (gfc_trans_assignment_1): Character kind conversion may
create a loop variant temporary, too.
* trans-intrinsic.c (conv_caf_send): Treat char arrays as arrays and
not as scalars.
* trans.c (get_array_span): Take the character kind into account when
doing pointer arithmetic.

gcc/testsuite/ChangeLog:

2017-11-04  Andre Vehreschild  <vehre@gcc.gnu.org>

* gfortran.dg/coarray/send_char_array_1.f90: New test.

From-SVN: r254407
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray/send_char_array_1.f90 [new file with mode: 0644]