From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22017 invoked by alias); 19 Jan 2009 16:49:07 -0000 Received: (qmail 21978 invoked by uid 48); 19 Jan 2009 16:48:55 -0000 Date: Mon, 19 Jan 2009 16:49:00 -0000 Subject: [Bug fortran/38914] New: ICE with array inquiry functions above contains in parameter expression X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dick dot hendrickson at gmail dot com" 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: 2009-01/txt/msg02104.txt.bz2 The following program causes an ICE. If the contains and subroutine statements are uncommented, then the program compiles. Dick Hendrickson MODULE U_above_TESTS ! fails on Windows XP ! gcc version 4.4.0 20081219 (experimental) [trunk revision 142842] (GCC) ! contains ! subroutine U_below INTEGER, PARAMETER, DIMENSION(0:20,4) :: IP_ARRAY2_4_S = 0 INTEGER, PARAMETER, DIMENSION(12) :: IP_ARRAY1_32_S = $(/ LBOUND(IP_ARRAY2_4_S), LBOUND(IP_ARRAY2_4_S(5:10,2:3)), $ UBOUND(IP_ARRAY2_4_S), UBOUND(IP_ARRAY2_4_S(5:10,2:3)), $ SIZE(IP_ARRAY2_4_S), SIZE(IP_ARRAY2_4_S(5:10,2:3)), $ SHAPE(IP_ARRAY2_4_S(5:10,2:3)) /) ! end subroutine u_below END MODULE U_above_TESTS C:\gfortran>gfortran u_above.f f951.exe: internal compiler error: in gfc_conv_array_initializer, at fortran/tra ns-array.c:4009 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- Summary: ICE with array inquiry functions above contains in parameter expression Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dick dot hendrickson at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38914