From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30008 invoked by alias); 2 May 2006 19:28:51 -0000 Received: (qmail 29990 invoked by uid 48); 2 May 2006 19:28:47 -0000 Date: Tue, 02 May 2006 19:28:00 -0000 Message-ID: <20060502192847.29989.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/27378] ICE on unexpected ELSE statement In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00210.txt.bz2 List-Id: ------- Comment #2 from kargl at gcc dot gnu dot org 2006-05-02 19:28 ------- (In reply to comment #1) > Index: parse.c > =================================================================== > --- parse.c (revision 113473) > +++ parse.c (working copy) > @@ -624,6 +624,7 @@ next_statement (void) > if (gfc_at_eol ()) > { > if (gfc_option.warn_line_truncation > + && gfc_current_locus.lb > && gfc_current_locus.lb->truncated) > gfc_warning_now ("Line truncated at %C"); > Looks like an "Obviously correct" patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27378