From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29922 invoked by alias); 31 Oct 2011 18:16:14 -0000 Received: (qmail 29912 invoked by uid 22791); 31 Oct 2011 18:16:13 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CL,TW_FX,TW_VM,TW_VN,TW_XS,TW_XT 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:15:59 +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:16: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/msg03229.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50937 --- Comment #2 from fwi at inducks dot org 2011-10-31 18:15:57 UTC --- With "E=1.0D0" instead of "E(N,N,N,N)=1.0D0" $ gfortran test.f90; 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 Could not allocate array of size 130 **4, error code= 5014 Could not allocate array of size 140 **4, error code= 5014 Could not allocate array of size 150 **4, error code= 5014 Sucesfully allocated array of size 160 **4 Erreur de segmentation Could not allocate array of size 170 **4, error code= 5014 Could not allocate array of size 180 **4, error code= 5014 Sucesfully allocated array of size 190 **4 Erreur de segmentation Could not allocate array of size 200 **4, error code= 5014 Could not allocate array of size 210 **4, error code= 5014 Sucesfully allocated array of size 220 **4 Erreur de segmentation Sucesfully allocated array of size 230 **4 Erreur de segmentation Sucesfully allocated array of size 240 **4 Erreur de segmentation Sucesfully allocated array of size 250 **4 Erreur de segmentation Could not allocate array of size 260 **4, error code= 5014 Could not allocate array of size 270 **4, error code= 5014 Sucesfully allocated array of size 280 **4 Erreur de segmentation Sucesfully allocated array of size 290 **4 Erreur de segmentation Sucesfully allocated array of size 300 **4 Erreur de segmentation Sucesfully allocated array of size 310 **4 Erreur de segmentation Could not allocate array of size 320 **4, error code= 5014 Sucesfully allocated array of size 330 **4 Erreur de segmentation Could not allocate array of size 340 **4, error code= 5014 Could not allocate array of size 350 **4, error code= 5014 Sucesfully allocated array of size 360 **4 Erreur de segmentation Could not allocate array of size 370 **4, error code= 5014 Could not allocate array of size 380 **4, error code= 5014 Sucesfully allocated array of size 390 **4 Erreur de segmentation Could not allocate array of size 400 **4, error code= 5014 (Excuse the non-English words, "Erreur de segmentation" really means "Segmentation fault"). I am using Ubuntu 10.04.3 LTS (32-bit) with: $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : stepping : 10 cpu MHz : 2493.666 cache size : 1024 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority bogomips : 4987.33 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual