From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25153 invoked by alias); 19 May 2007 15:13:13 -0000 Received: (qmail 24757 invoked by uid 48); 19 May 2007 15:12:56 -0000 Date: Sat, 19 May 2007 15:13:00 -0000 Message-ID: <20070519151256.24756.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgomp/31974] [4.3 regression]: Many libgomp failures In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl at lucon 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: 2007-05/txt/msg01533.txt.bz2 ------- Comment #4 from hjl at lucon dot org 2007-05-19 16:12 ------- Here is a simple testcase. It fails on Linux/x86-64 and Linux/ia64. I think it may fail on all 64bit systems: [hjl@gnu-26 31974]$ cat foo.f90 ! { dg-do run } call test contains subroutine foo (n) integer :: n integer :: p, q character (len = n) :: s character (len = n), dimension (5, 3:n) :: v s = 'P' forall (p = 1:5, q = 3:7, p + q .gt. 8) v(p, q) = '!' end subroutine foo subroutine test call foo (7) end subroutine test end [hjl@gnu-26 31974]$ make /export/build/gnu/gcc-last/build-x86_64-linux/gcc/gfortran -B/export/build/gnu/gcc-last/build-x86_64-linux/gcc/ -L/export/build/gnu/gcc-last/build-x86_64-linux/gcc/../x86_64-unknown-linux-gnu/libgfortran/.libs -static -g -o foo foo.o ./foo Fortran runtime error: Attempt to allocate a negative amount of memory. make: *** [all] Error 2 [hjl@gnu-26 31974]$ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31974