From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3806 invoked by alias); 31 Oct 2011 18:29:47 -0000 Received: (qmail 3795 invoked by uid 22791); 31 Oct 2011 18:29:46 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 Oct 2011 18:29:32 +0000 From: "fwi at inducks dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/50937] STAT option with ALLOCATE statement on large arrays Date: Mon, 31 Oct 2011 18:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fwi at inducks dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2011-10/txt/msg03231.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50937 --- Comment #4 from fwi at inducks dot org 2011-10-31 18:29:27 UTC --- I'm using: $ gfortran --version GNU Fortran (Ubuntu 4.4.3-4ubuntu5) 4.4.3 I've now tested the same program on a 64-bit CentOs machine with 16-Gb RAM, but wasn't able to reproduce the problem there: $ gfortran --version GNU Fortran (GCC) 4.1.2 $ for i in `seq -w 10 10 400`; do LANG=C ./a.out $i; done Sucesfully allocated array of size 10 **4 Sucesfully allocated array of size 20 **4 Sucesfully allocated array of size 30 **4 Sucesfully allocated array of size 40 **4 Sucesfully allocated array of size 50 **4 Sucesfully allocated array of size 60 **4 Sucesfully allocated array of size 70 **4 Sucesfully allocated array of size 80 **4 Sucesfully allocated array of size 90 **4 Sucesfully allocated array of size 100 **4 Sucesfully allocated array of size 110 **4 Sucesfully allocated array of size 120 **4 Sucesfully allocated array of size 130 **4 Sucesfully allocated array of size 140 **4 Sucesfully allocated array of size 150 **4 Sucesfully allocated array of size 160 **4 Sucesfully allocated array of size 170 **4 Sucesfully allocated array of size 180 **4 Sucesfully allocated array of size 190 **4 Sucesfully allocated array of size 200 **4 Sucesfully allocated array of size 210 **4 Could not allocate array of size 220 **4, error code= 1 Could not allocate array of size 230 **4, error code= 1 Could not allocate array of size 240 **4, error code= 1 Could not allocate array of size 250 **4, error code= 1 Could not allocate array of size 260 **4, error code= 1 Could not allocate array of size 270 **4, error code= 1 Could not allocate array of size 280 **4, error code= 1 Could not allocate array of size 290 **4, error code= 1 Could not allocate array of size 300 **4, error code= 1 Could not allocate array of size 310 **4, error code= 1 Could not allocate array of size 320 **4, error code= 1 Could not allocate array of size 330 **4, error code= 1 Could not allocate array of size 340 **4, error code= 1 Could not allocate array of size 350 **4, error code= 1 Could not allocate array of size 360 **4, error code= 1 Could not allocate array of size 370 **4, error code= 1 Could not allocate array of size 380 **4, error code= 1 Could not allocate array of size 390 **4, error code= 1 Could not allocate array of size 400 **4, error code= 1