------- Comment #6 from pault at gcc dot gnu dot org  2010-02-06 19:44 -------
Subject: Bug 42309

Author: pault
Date: Sat Feb  6 19:44:41 2010
New Revision: 156554

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156554
Log:
2010-02-06  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/42309
        * trans-expr.c (gfc_conv_subref_array_arg): Add new argument
        'formal_ptr'. If this is true, give returned descriptor unity
        lbounds, in all dimensions, and the appropriate offset.
        (gfc_conv_procedure_call); If formal is a pointer, set the last
        argument of gfc_conv_subref_array_arg to true.
        * trans.h : Add last argument for gfc_conv_subref_array_arg.
        * trans-io.c (set_internal_unit, gfc_trans_transfer): Set the
        new arg of gfc_conv_subref_array_arg to false.
        * trans-stmt.c (forall_make_variable_temp): The same.

2010-02-06  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/42309
        * gfortran.dg/subref_array_pointer_4.f90 : New test.


Added:
   
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/subref_array_pointer_4.f90
Modified:
    branches/gcc-4_4-branch/gcc/fortran/ChangeLog
    branches/gcc-4_4-branch/gcc/fortran/trans-expr.c
    branches/gcc-4_4-branch/gcc/fortran/trans-io.c
    branches/gcc-4_4-branch/gcc/fortran/trans-stmt.c
    branches/gcc-4_4-branch/gcc/fortran/trans.h
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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

Reply via email to