------- Comment #9 from pault at gcc dot gnu dot org  2006-12-05 19:45 -------
Subject: Bug 30003

Author: pault
Date: Tue Dec  5 19:45:25 2006
New Revision: 119556

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119556
Log:
2006-12-05  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/30003
        * trans-array.c (gfc_trans_create_temp_array): Set the section
        ends to zero.
        (gfc_conv_array_transpose): Likewise.
        (gfc_conv_section_startstride): Declare an expression for end,
        set it from a the array reference and evaluate it for the info
        structure. Zero the ends in the ss structure and set end, used
        in the bounds check, from the info structure.
        trans.h: Add and end array to the gfc_ss_info structure.

2006-12-05  Paul Thomas  <[EMAIL PROTECTED]>

        PR fortran/30003
        * gfortran.dg/allocatable_function_1.f90: Increase the number
        of expected calls of free to 10; the lhs section reference is
        now evaluated so there is another call to bar.  Change the
        comment appropriately.
        * gfortran.dg/array_section_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/array_section_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/fortran/trans.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/allocatable_function_1.f90


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30003

Reply via email to