From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25053 invoked by alias); 27 Aug 2006 22:43:29 -0000 Received: (qmail 25037 invoked by uid 48); 27 Aug 2006 22:43:22 -0000 Date: Sun, 27 Aug 2006 22:43:00 -0000 Subject: [Bug fortran/28866] New: [Regression] Simple if statements are not so simple X-Bugzilla-Reason: CC Message-ID: 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-08/txt/msg02392.txt.bz2 List-Id: The following program fails to compile because the commit noted in the comment broke the processing of a chain of matchers. ! { dg-do compile } ! Test fix for regression caused by ! 2006-06-23 Steven G. Kargl ! PR fortran/27981 ! * match.c (gfc_match_if): Handle errors in assignment in simple if. ! module read integer i, j, k contains subroutine a if (i .eq. 0) read(j,*) k end subroutine a end module read I'm currently testing a patch to fix the problem. Note, this effects only 4.2. -- Summary: [Regression] Simple if statements are not so simple Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: kargl at gcc dot gnu dot org ReportedBy: kargl at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28866