From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13169 invoked by alias); 2 Aug 2005 10:50:27 -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 13137 invoked by uid 48); 2 Aug 2005 10:50:21 -0000 Date: Tue, 02 Aug 2005 10:50:00 -0000 Message-ID: <20050802105021.13136.qmail@sourceware.org> From: "steven at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050416225125.21063.guillemborrell@yahoo.es> References: <20050416225125.21063.guillemborrell@yahoo.es> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/21063] ICE in gfc_conv_ss_descriptor, at fortran/trans-array.c:1224 after using maxloc function X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg00158.txt.bz2 List-Id: ------- Additional Comments From steven at gcc dot gnu dot org 2005-08-02 10:50 ------- This is just a complete mis-handling of vector subscripts. Even without using the maxloc intrinsics this ICEs: $ cat t.f90 program bug integer, dimension(10) :: foo write(*,*) foo((/1,3/)) end program $ ./f951 -fdump-parse-tree t.f90 Namespace: A-H: (REAL 4) I-N: (INTEGER 4) O-Z: (REAL 4) symtree: foo Ambig 0 symbol foo (INTEGER 4)(VARIABLE UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC DIMENSION) Array spec:(1 AS_EXPLICIT 1 10 ) symtree: bug Ambig 0 symbol bug (UNKNOWN 0)(PROGRAM UNKNOWN-INTENT UNKNOWN-ACCESS UNKNOWN-PROC) WRITE UNIT=6 FMT=-1 TRANSFER foo((/ 1_8 , 3_8 /)) DT_END MAIN__ t.f90:3: internal compiler error: in gfc_conv_ss_descriptor, at fortran/trans-array.c:1264 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21063