From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7196 invoked by alias); 17 Sep 2010 00:13:23 -0000 Received: (qmail 7188 invoked by uid 22791); 17 Sep 2010 00:13:23 -0000 X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 17 Sep 2010 00:13:18 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 7BC0C2500D; Thu, 16 Sep 2010 17:13:16 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost2.vmware.com (Postfix) with ESMTP id 6D0918E7C9; Thu, 16 Sep 2010 17:13:16 -0700 (PDT) Message-ID: <4C92B29C.5040903@vmware.com> Date: Fri, 17 Sep 2010 00:13:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20100903) MIME-Version: 1.0 To: Mathew Yeates CC: "gdb@sourceware.org" Subject: Re: seriously broken fortran multi-dimensional arrays References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-09/txt/msg00104.txt.bz2 Mathew Yeates wrote: > At a place in my code I do > (gdb) p Tau_mask(itau,imix) > $9 = .TRUE. > > but if I print the value at the address corresponding to this I get > x/d 0x2850a40 + 4*(15*74 + 35) > 0x2851c24: 0 > > .FALSE. is the correct value but .TRUE. gets printed. Can you provide a small test case?