https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70696
--- Comment #13 from vehre at gcc dot gnu.org --- Author: vehre Date: Sun Jan 29 13:50:23 2017 New Revision: 245014 URL: https://gcc.gnu.org/viewcvs?rev=245014&root=gcc&view=rev Log: 2017-01-29 Andre Vehreschild <ve...@gcc.gnu.org> Backport from trunk PR fortran/70696 * trans-expr.c (gfc_get_tree_for_caf_expr): Ensure the backend_decl is valid before accessing it. Remove unnecessary assert. * trans-decl.c (gfc_build_qualified_array): Add static tokens to the parent function's scope only, when the decl-context is not the translation unit. 2017-01-29 Andre Vehreschild <ve...@gcc.gnu.org> Backport from trunk 2017-01-19 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/70696 * gfortran.dg/coarray_43.f90: New test. 2017-01-18 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/70696 * gfortran.dg/coarray_event_1.f08: New test. 2017-01-13 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/70696 * gfortran.dg/coarray/event_3.f08: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/coarray/event_3.f08 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/coarray_43.f90 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/coarray_event_1.f08 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/trans-decl.c branches/gcc-6-branch/gcc/fortran/trans-expr.c branches/gcc-6-branch/gcc/testsuite/ChangeLog