re PR fortran/70696 ([Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 18 Jan 2017 18:35:41 +0000 (19:35 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Wed, 18 Jan 2017 18:35:41 +0000 (19:35 +0100)
commit3083fc562eb49c1df94453a17f9dbc37462ab0d0
tree7617d8af5a4812df06b8c844823c10cd509ae737
parent9bca63d44bf10ac1341f44b86b1c0f5b1ca5bc1b
re PR fortran/70696 ([Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray)

gcc/fortran/ChangeLog:

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

PR fortran/70696
Missed some parts, here they are:
* trans-decl.c (gfc_build_qualified_array): Add static tokens to the
parent function's scope.
* trans-expr.c (gfc_get_tree_for_caf_expr): Shorten code.  Remove
unnecessary assert.

gcc/testsuite/ChangeLog:

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

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

From-SVN: r244587
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_event_1.f08 [new file with mode: 0644]