From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15047 invoked by alias); 20 Apr 2007 00:52:56 -0000 Received: (qmail 15021 invoked by uid 48); 20 Apr 2007 00:52:44 -0000 Date: Fri, 20 Apr 2007 00:52:00 -0000 Message-ID: <20070420005244.15020.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31639] [4.1/4.2/4.3] ICE in gfc_conv_constant, at fortran/trans-const.c:348 with len In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "brooks 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: 2007-04/txt/msg01493.txt.bz2 ------- Comment #1 from brooks at gcc dot gnu dot org 2007-04-20 01:52 ------- This is invalid code, since initialization expressions must be constants, and the length of an assumed-length string argument is not a constant. Regardless, we shouldn't be ICE'ing on it. -- brooks at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brooks at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-invalid-code Known to fail| |4.1.2 4.3.0 Last reconfirmed|0000-00-00 00:00:00 |2007-04-20 01:52:43 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31639