re PR fortran/70696 ([Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray)
authorAndre Vehreschild <vehre@gcc.gnu.org>
Thu, 19 Jan 2017 15:52:32 +0000 (16:52 +0100)
committerAndre Vehreschild <vehre@gcc.gnu.org>
Thu, 19 Jan 2017 15:52:32 +0000 (16:52 +0100)
commit118d5ed3212800810ad6c09c1e51649a02d4caf3
tree19376ad3f5757f08f61c02608a53612aa86ca96e
parent9db0a8c2bfe8e9602109d3fc3de0dc5e575b8c5c
re PR fortran/70696 ([Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray)

gcc/fortran/ChangeLog:

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

PR fortran/70696
* trans-decl.c (gfc_build_qualified_array): Add static decl to parent
function only, when the decl-context is not the translation unit.

gcc/testsuite/ChangeLog:

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

PR fortran/70696
* gfortran.dg/coarray_43.f90: New test.

From-SVN: r244637
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_43.f90 [new file with mode: 0644]