------- 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  <[EMAIL PROTECTED]>

        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  <[EMAIL PROTECTED]>

        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

Reply via email to