From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11245 invoked by alias); 3 Nov 2009 09:02:49 -0000 Received: (qmail 9315 invoked by uid 48); 3 Nov 2009 09:02:29 -0000 Date: Tue, 03 Nov 2009 09:02:00 -0000 Subject: [Bug fortran/41922] New: Diagnostic: No location shown for overlappingly initialized EQUIVALENCEd character vars X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus 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: 2009-11/txt/msg00146.txt.bz2 Reported at http://gcc.gnu.org/ml/fortran/2009-11/msg00011.html In the following program, the error location is not shown: Error: Overlapping unequal initializers in EQUIVALENCE at (1) Using the commented version instead, it works: data cstore/2*4/ 1 Error: Overlapping unequal initializers in EQUIVALENCE at (1) Subroutine RestoreR8Run() Implicit NONE Integer ISTORE Real XSTORE ! integer CSTORE(2) ! data cstore/2*4/ character CSTORE(8) data cstore/8*' '/ data istore/0/ EQUIVALENCE (CSTORE(1),XSTORE,ISTORE) end -- Summary: Diagnostic: No location shown for overlappingly initialized EQUIVALENCEd character vars Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41922