From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4527 invoked by alias); 28 May 2006 20:36:06 -0000 Received: (qmail 4495 invoked by alias); 28 May 2006 20:36:00 -0000 Date: Sun, 28 May 2006 20:36:00 -0000 Message-ID: <20060528203600.4494.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/27470] [4.1 regression] wrong memory allocator for derived types In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tkoenig at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg02875.txt.bz2 List-Id: ------- Comment #12 from tkoenig at gcc dot gnu dot org 2006-05-28 20:36 ------- Subject: Bug 27470 Author: tkoenig Date: Sun May 28 20:35:53 2006 New Revision: 114176 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114176 Log: 2005-05-28 Thomas Koenig PR fortran/27470 Backport from trunk. * trans-array.c(gfc_array_allocate): If ref->next exists that is if there is a statement like ALLOCATE(foo%bar(2)), F95 rules require that bar should be a pointer. 2005-05-28 Thomas Koenig PR fortran/27470 Backport from trunk. * gfortran.dg/multiple_allocation_2.f90: New test case. Added: branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/multiple_allocation_2.f90 Modified: branches/gcc-4_1-branch/gcc/fortran/ChangeLog branches/gcc-4_1-branch/gcc/fortran/trans-array.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27470