From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 691 invoked by alias); 9 Jan 2008 10:12:40 -0000 Received: (qmail 423 invoked by uid 48); 9 Jan 2008 10:11:56 -0000 Date: Wed, 09 Jan 2008 10:35:00 -0000 Message-ID: <20080109101156.422.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/34722] compile results in "internal compiler error: segmentation fault" message In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dominiq at lps dot ens dot fr" 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 X-SW-Source: 2008-01/txt/msg00844.txt.bz2 ------- Comment #5 from dominiq at lps dot ens dot fr 2008-01-09 10:11 ------- Further reduced test case: PROGRAM GAMSANAL IMPLICIT NONE character :: tmp INTEGER IODICT LOGICAL DICEXIST INQUIRE(UNIT=IODICT, EXIST=DICEXIST) end SUBROUTINE INVENTNAMES() IMPLICIT NONE END SUBROUTINE If I comment the line "character :: tmp" I get an ICE: pr34722_red.f90:7: internal compiler error: Segmentation fault Please submit a full bug report, If I comment the "INQUIRE" line, the code compiles fine. What is very weird, is that if I comment the useless subroutine, the code compiles also. >>From the gfortran versions I have at hand, the bug appeared between gcc version 4.3.0 20061231 (FX build) and 20071105 (Tobias build) on x86_64-unknown-linux-gnu and is not present in i386-pc-linux-gnu gcc version 4.3.0 20070716 (FX build). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34722