This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST
- From: Damian Rouson <damian at sourceryinstitute dot org>
- To: GCC-Fortran-ML <fortran at gcc dot gnu dot org>
- Cc: Alessandro Fanfarillo <fanfarillo dot gcc at gmail dot com>
- Date: Thu, 7 Jul 2016 11:30:09 -0700
- Subject: Re: Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST
- Authentication-results: sourceware.org; auth=none
- References: <50FC4B18-0F85-447C-95A7-037C66762FDB@sourceryinstitute.org>
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)