public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST
@ 2016-04-16 19:09 Damian Rouson
  2016-07-07 18:30 ` Damian Rouson
  0 siblings, 1 reply; 2+ messages in thread
From: Damian Rouson @ 2016-04-16 19:09 UTC (permalink / raw)
  To: GCC-Fortran-ML; +Cc: Alessandro Fanfarillo

All,

I just submitted Bug Reports 70696 and 70697 related to internal compiler errors with EVENT POST and EVENT WAIT using a recent build of gfortran 6.0.0.   Excerpts from these bug reports are below.  Also, I just marked coarray Bugs 57093 and 59694 as resolved and fixed based on tests with gfortran 4.9.3, 5.3.0, and 6.0.0. 

Damian

_________ Bug 70696 ______________________

$ cat post_host_associated_event.f90 
  use iso_fortran_env
  type(event_type) :: x[*] 
contains
  subroutine exchange
    event post(x[1])
  end subroutine
end 
$ gfortran -fcoarray=single post_host_associated_event.f90
$ gfortran -fcoarray=lib post_host_associated_event.f90
post_host_associated_event.f90:5:0:

     event post(x[1])
 
internal compiler error: in gfc_get_tree_for_caf_expr, at fortran/trans-expr.c:1852

post_host_associated_event.f90:5:0: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
See <
https://trac.macports.org/newticket
> for instructions.
$ gfortran --version
GNU Fortran (MacPorts gcc6 6-20160327_0) 6.0.0 20160327 (experimental)


_________ Bug 70697 ______________________
$ cat tree.f90 
  use iso_fortran_env
  integer :: nc(1)
  type(event_type) done[*]
  event wait(done,until_count=nc(1))
end
$ gfortran -fcoarray=single tree.f90 
tree.f90:4:0:

   event wait(done,until_count=nc(1))
 
internal compiler error: Segmentation fault: 11

tree.f90:4:0: internal compiler error: Abort trap: 6
gfortran: internal compiler error: Abort trap: 6 (program f951)
Please submit a full bug report,
with preprocessed source if appropriate.
See <
https://trac.macports.org/newticket
> for instructions.
$ gfortran --version
GNU Fortran (MacPorts gcc6 6-20160327_0) 6.0.0 20160327 (experimental)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST
  2016-04-16 19:09 Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST Damian Rouson
@ 2016-07-07 18:30 ` Damian Rouson
  0 siblings, 0 replies; 2+ messages in thread
From: Damian Rouson @ 2016-07-07 18:30 UTC (permalink / raw)
  To: GCC-Fortran-ML; +Cc: Alessandro Fanfarillo

ping


On April 16, 2016 at 12:09:14 PM, Damian Rouson (damian@sourceryinstitute.org(mailto:damian@sourceryinstitute.org)) wrote:

> All,
> 
> I just submitted Bug Reports 70696 and 70697 related to internal compiler errors with EVENT POST and EVENT WAIT using a recent build of gfortran 6.0.0. Excerpts from these bug reports are below. Also, I just marked coarray Bugs 57093 and 59694 as resolved and fixed based on tests with gfortran 4.9.3, 5.3.0, and 6.0.0.
> 
> Damian
> 
> _________ Bug 70696 ______________________
> 
> $ cat post_host_associated_event.f90
> use iso_fortran_env
> type(event_type) :: x[*]
> contains
> subroutine exchange
> event post(x[1])
> end subroutine
> end
> $ gfortran -fcoarray=single post_host_associated_event.f90
> $ gfortran -fcoarray=lib post_host_associated_event.f90
> post_host_associated_event.f90:5:0:
> 
> event post(x[1])
> 
> internal compiler error: in gfc_get_tree_for_caf_expr, at fortran/trans-expr.c:1852
> 
> post_host_associated_event.f90:5:0: internal compiler error: Abort trap: 6
> gfortran: internal compiler error: Abort trap: 6 (program f951)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <
> https://trac.macports.org/newticket
> > for instructions.
> $ gfortran --version
> GNU Fortran (MacPorts gcc6 6-20160327_0) 6.0.0 20160327 (experimental)
> 
> 
> _________ Bug 70697 ______________________
> $ cat tree.f90
> use iso_fortran_env
> integer :: nc(1)
> type(event_type) done[*]
> event wait(done,until_count=nc(1))
> end
> $ gfortran -fcoarray=single tree.f90
> tree.f90:4:0:
> 
> event wait(done,until_count=nc(1))
> 
> internal compiler error: Segmentation fault: 11
> 
> tree.f90:4:0: internal compiler error: Abort trap: 6
> gfortran: internal compiler error: Abort trap: 6 (program f951)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <
> https://trac.macports.org/newticket
> > for instructions.
> $ gfortran --version
> GNU Fortran (MacPorts gcc6 6-20160327_0) 6.0.0 20160327 (experimental)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-07 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-16 19:09 Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST Damian Rouson
2016-07-07 18:30 ` Damian Rouson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).