From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75961 invoked by alias); 7 Jul 2016 18:30:40 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 75947 invoked by uid 89); 7 Jul 2016 18:30:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=_________, H*F:U*damian, HX-Envelope-From:sk:damian@, POST X-HELO: nm12-vm2.bullet.mail.ne1.yahoo.com Received: from nm12-vm2.bullet.mail.ne1.yahoo.com (HELO nm12-vm2.bullet.mail.ne1.yahoo.com) (98.138.91.88) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 07 Jul 2016 18:30:30 +0000 Received: from [98.138.100.111] by nm12.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jul 2016 18:30:27 -0000 Received: from [98.138.226.59] by tm100.bullet.mail.ne1.yahoo.com with NNFMP; 07 Jul 2016 18:30:27 -0000 Received: from [127.0.0.1] by smtp210.mail.ne1.yahoo.com with NNFMP; 07 Jul 2016 18:26:24 -0000 X-Yahoo-SMTP: x0SCrfmswBCvW0SeKOpOOY7IMgY- Date: Thu, 07 Jul 2016 18:30:00 -0000 From: Damian Rouson To: GCC-Fortran-ML Cc: Alessandro Fanfarillo Message-ID: In-Reply-To: <50FC4B18-0F85-447C-95A7-037C66762FDB@sourceryinstitute.org> References: <50FC4B18-0F85-447C-95A7-037C66762FDB@sourceryinstitute.org> Subject: Re: Internal compiler errors with Fortran 2015 EVENT WAIT and EVENT POST MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00027.txt.bz2 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)