From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47016 invoked by alias); 4 Apr 2015 10:08:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 46986 invoked by uid 48); 4 Apr 2015 10:07:56 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59024] ICE: after printing certain error messages, the compiler seg faults. Date: Sat, 04 Apr 2015 10:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.8.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00266.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59024 --- Comment #2 from Dominique d'Humieres --- AFAICT the errors with the trunk (5.0) are now pr59024.f90:6.6: TYPE tc 1 Error: Syntax error in PUBLIC statement at (1) pr59024.f90:7.5: END TYPE tc 1 Error: Expecting END MODULE statement at (1) pr59024.f90:15.12: TYPE(tc) t 1 Error: Derived type 'tc' at (1) is being used before it is defined pr59024.f90:17.14: END MODULE mtc 1 Error: Procedure 'C_PTR_1' in generic interface 'tc' at (1) is neither function nor subroutine without any ICE. The change of behavior occurred between revisions r214073 (2014-08-17, ICE) and r214113 (2014-08-18, error). A candidate could be r214076, but I don't see why. Unless someone objects I'll close this PR as fixed in a week.