------- Comment #7 from tkoenig at gcc dot gnu dot org  2006-04-29 21:02 -------
Subject: Bug 26017

Author: tkoenig
Date: Sat Apr 29 21:02:04 2006
New Revision: 113381

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113381
Log:
2006-04-29  Thomas Koenig  <[EMAIL PROTECTED]>

        PR fortran/26017
        Backport from trunk
        * trans-array.c(gfc_array_init_size):  Introduce or_expr
        which is true if the size along any dimension
        is negative.  Create a temporary variable with base
        name size.  If or_expr is true, set the temporary to 0,
        to the normal size otherwise.

2006-04-29  Thomas Koenig  <[EMAIL PROTECTED]>

        PR fortran/26017
        * gfortran.dg/allocate_zerosize.f90:  New test.


Added:
    branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/allocate_zerosize_1.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=26017

Reply via email to