From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 713 invoked by alias); 2 Nov 2004 23:48:53 -0000 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 Received: (qmail 700 invoked by uid 48); 2 Nov 2004 23:48:52 -0000 Date: Tue, 02 Nov 2004 23:48:00 -0000 From: "anlauf at hep dot tu-darmstadt dot de" To: gcc-bugs@gcc.gnu.org Message-ID: <20041102234849.18283.anlauf@hep.tu-darmstadt.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/18283] New: gfortran: ICE in gfc_conv_string_parameter, trans-expr.c:1982 X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg00300.txt.bz2 List-Id: Hi, the following code snippet does not compile: program gfcbug20 implicit none type :: a_t character, pointer :: line ! character (len=1), pointer :: line end type a_t type (a_t) :: a = a_t ( NULL() ) character, target :: b ! character (len=1), target :: b a% line => b end program gfcbug20 I get: gfcbug20.f90: In function 'MAIN__': gfcbug20.f90:14: internal compiler error: in gfc_conv_string_parameter, at fortr an/trans-expr.c:1982 Replacing the character variable in the derived type (as well as the target) by an integer "solves" the problem. Cheers, -ha -- Summary: gfortran: ICE in gfc_conv_string_parameter, trans- expr.c:1982 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anlauf at hep dot tu-darmstadt dot de CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18283