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 9149664..04e54b6 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 f6e28b7..60d3193 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