This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, 4.6] PR43178 - avoid unnecessary initialization/nullify
- From: Tobias Burnus <burnus at net-b dot de>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Tue, 06 Apr 2010 14:47:06 +0200
- Subject: Re: [Patch, Fortran, 4.6] PR43178 - avoid unnecessary initialization/nullify
- References: <4BB0E9D2.90508@net-b.de> <20100329181549.GA25597@troutmask.apl.washington.edu>
On 03/29/2010 08:15 PM, Steve Kargl wrote:
> On Mon, Mar 29, 2010 at 07:56:34PM +0200, Tobias Burnus wrote:
>
>> Build and regtested on x86-64-linux.
>> OK for the 4.6 trunk
> OK.
>
> Thanks for the patch. The setting of a variable to 0B,
> then checking to see if needs to be freed, and then
> again setting it to 0B has always bugged me.
>
Thanks for the review. Committed to the 4.6 trunk:
Sending gcc/fortran/ChangeLog
Sending gcc/fortran/trans-array.c
Sending gcc/fortran/trans-decl.c
Sending gcc/fortran/trans-expr.c
Sending gcc/fortran/trans-openmp.c
Sending gcc/fortran/trans-stmt.c
Sending gcc/fortran/trans.h
Sending gcc/testsuite/ChangeLog
Sending gcc/testsuite/gfortran.dg/alloc_comp_basics_1.f90
Sending gcc/testsuite/gfortran.dg/alloc_comp_constructor_1.f90
Sending gcc/testsuite/gfortran.dg/auto_dealloc_1.f90
Transmitting file data ...........
Committed revision 157993.
Tobias