re PR fortran/70696 ([Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 13 Jan 2017 10:22:21 +0000 (11:22 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Fri, 13 Jan 2017 10:22:21 +0000 (11:22 +0100)
commit4ccff88b71d7988940c736f123071b11fb614d05
tree02a651be289a53ea81ff6fe0d011d7b35f3e8ef2
parentd8f43ee6d0921b73670e8e123cdd0850dfeb330e
re PR fortran/70696 ([Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray)

gcc/testsuite/ChangeLog:

2017-01-13  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/70696
* gfortran.dg/coarray/event_3.f08: New test.

gcc/fortran/ChangeLog:

2017-01-13  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/70696
* trans-expr.c (gfc_get_tree_for_caf_expr): Ensure the backend_decl
is valid before accessing it.

libgfortran/ChangeLog:

2017-01-13  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/70696
* caf/single.c (_gfortran_caf_register): Allocate enough memory for
the event counter.

From-SVN: r244407
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray/event_3.f08 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/caf/single.c