public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
From: Damian Rouson <damian@sourceryinstitute.org>
To: GCC-Fortran-ML <fortran@gcc.gnu.org>
Cc: Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
Subject: Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST
Date: Sat, 16 Apr 2016 19:09:00 -0000	[thread overview]
Message-ID: <50FC4B18-0F85-447C-95A7-037C66762FDB@sourceryinstitute.org> (raw)

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)

             reply	other threads:[~2016-04-16 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-16 19:09 Damian Rouson [this message]
2016-07-07 18:30 ` Damian Rouson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50FC4B18-0F85-447C-95A7-037C66762FDB@sourceryinstitute.org \
    --to=damian@sourceryinstitute.org \
    --cc=fanfarillo.gcc@gmail.com \
    --cc=fortran@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).