From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6267 invoked by alias); 5 Jun 2006 17:40:14 -0000 Received: (qmail 6239 invoked by uid 48); 5 Jun 2006 17:40:07 -0000 Date: Mon, 05 Jun 2006 17:47:00 -0000 Message-ID: <20060605174007.6238.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/24978] ICE in gfc_assign_data_value_range In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl at gcc dot gnu dot org" 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 X-SW-Source: 2006-06/txt/msg00578.txt.bz2 List-Id: ------- Comment #4 from kargl at gcc dot gnu dot org 2006-06-05 17:40 ------- (In reply to comment #3) > I marked it as ice-on-valid-code, but I'm not sure it's valid code. g95 emits > an error, but Intel and Sun compilers don't. Uttam, do you know if that code is > valid? > It is invalid-code. 5.2.10 DATA statement R532 data-stmt is DATA data-stmt-set [ [ , ] data-stmt-set ] ... This statement is used to specify explicit initialization (504). A variable, or part of a variable, shall not be explicitly initialized more than once in a program. If a nonpointer object or subobject has been specified with default initialization in a type definition, it shall not appear in a data-stmt-object-list. I've changed this to ice-on-invalid-code -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu dot org Keywords|ice-on-valid-code |ice-on-invalid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24978