This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR40440 - Automatic deallocation component of DT function return value


> 2009-06-19 ?Paul Thomas ?<pault@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-06-19 ?Paul Thomas ?<pault@gcc.gnu.org>
>
> ? ? ? ?PR fortran/40440
> ? ? ? ?* gfortran.dg/alloc_comp_result_2.f90: New test.
>

Committed as revision 148731

Please note that I have improved the testcase a bit to ensure that it
does not leak memory.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]