From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14007 invoked by alias); 24 Mar 2008 18:45:43 -0000 Received: (qmail 13720 invoked by uid 48); 24 Mar 2008 18:45:00 -0000 Date: Mon, 24 Mar 2008 18:45:00 -0000 Subject: [Bug fortran/35680] New: [4.3/4.4 regression] ICE on invalid transfer in variable declaration X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" 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-03/txt/msg01920.txt.bz2 program main print *, foo() contains function foo() integer foo(size(transfer(x, [1]))) real x end function end program gives: a.f90:2: internal compiler error: Segmentation fault gfortran 4.1.2 20070626 (Red Hat 4.1.2-14) says: In file a.f90:5 integer foo(size(transfer(x, [1]))) 1 Error: Variable 'x' cannot appear in the expression at (1) -- Summary: [4.3/4.4 regression] ICE on invalid transfer in variable declaration Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fxcoudert at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35680