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, 4.6] PR43178 - avoid unnecessary initialization/nullify


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


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