On Tue, Dec 13, 2016 at 07:32:33PM +0100, Andre Vehreschild wrote: > > attached patch fixes the issue by improving the check whether a call of the > caf-runtime-routines needs to be generated instead of a regular assignment. > > Bootstraps and regtests ok on x86_64-linux/f23. Ok for trunk? > > gcc/testsuite/ChangeLog: > > 2016-12-13 Andre Vehreschild <ve...@gcc.gnu.org> > > PR fortran/78780 > * gfortran.dg/coarray/alloc_comp_5.f90: New test. > > gcc/fortran/ChangeLog: > > 2016-12-13 Andre Vehreschild <ve...@gcc.gnu.org> > > PR fortran/78780 > * trans-expr.c (gfc_trans_assignment_1): Improve check whether detour > caf-runtime routines is needed. >
OK. -- Steve