From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3955 invoked by alias); 24 Apr 2013 20:00:24 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 3916 invoked by uid 48); 24 Apr 2013 20:00:23 -0000 From: "sergiodj at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug fortran/9232] utils.c:947: internal-error: virtual memory exhausted: can't allocate 4294967420 bytes. Date: Wed, 24 Apr 2013 20:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sergiodj at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00140.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=9232 Sergio Durigan Junior changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sergiodj at redhat dot com --- Comment #9 from Sergio Durigan Junior 2013-04-24 20:00:22 UTC --- (In reply to comment #8) > (In reply to comment #7) > > I'm not getting failures now, but the following seems a little strange to me. > > I have stopped at the return on line 12. And ... > > > > (gdb) p ii(1:5) > > slice out of range > > (gdb) p ii(1)@5 > > $6 = (1, 2, 3, 4, 5) > > > > Perhaps this is considered normal? > > I don't know -- I don't know Fortran :) > The usual rule is that gdb should follow the language rules. > So if that is valid Fortran then I think it is a bug. I don't know Fortran either, but I found the following page: which uses and explains the concept. So I believe it is valid Fortran, yes. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.