------- Comment #14 from pault at gcc dot gnu dot org  2009-07-09 19:28 -------
Subject: Bug 40440

Author: pault
Date: Thu Jul  9 19:28:20 2009
New Revision: 149431

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149431
Log:
2009-07-09  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/40440
        * trans-expr.c (gfc_conv_procedure_call): Do not deallocate
        allocatable components if the argument is a pointer.

2009-07-09  Paul Thomas  <pa...@gcc.gnu.org>

        PR fortran/40440
        * gfortran.dg/alloc_comp_result_2.f90: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/alloc_comp_result_2.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/testsuite/ChangeLog


-- 


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

Reply via email to