re PR fortran/70696 ([Coarray] ICE on EVENT POST of host-associated EVENT_TYPE coarray)
authorUros Bizjak <ubizjak@gmail.com>
Sun, 27 Jan 2019 20:44:36 +0000 (21:44 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 27 Jan 2019 20:44:36 +0000 (21:44 +0100)
PR fortran/70696
* gfortran.dg/coarray/event_3.f0: Add save attribue to x.

From-SVN: r268325

gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray/event_3.f08

index 9149664ca38895b0bbbd90804b797b551f55e1cb..04e54b6d458f07654134ef77b21f72480e97f355 100644 (file)
@@ -1,3 +1,8 @@
+2019-01-27  Uroš Bizjak  <ubizjak@gmail.com>
+
+       PR fortran/70696
+       * gfortran.dg/coarray/event_3.f0: Add save attribue to x.
+
 2019-01-27  Marek Polacek  <polacek@redhat.com>
 
        PR c++/88815 - narrowing conversion lost in decltype.
index f6e28b78c8db602d39302bd2f2b5522e5f38de2f..60d3193f776da39e17a1991d67f789642dcd67ed 100644 (file)
@@ -3,9 +3,9 @@
 ! Check PR fortran/70696 is fixed.
 
 program global_event
-  use iso_fortran_env , only : event_type
+  use iso_fortran_env, only : event_type
   implicit none
-  type(event_type) :: x[*]
+  type(event_type), save :: x[*]
   
   call exchange
   contains