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] PR20779 and PR20891 - allocation of STAT or specification variables in same call


On Sun, Sep 17, 2006 at 07:36:34PM +0200, Paul Thomas wrote:
> 
> 2006-09-17 Paul Thomas <pault@gcc.gnu.org>
> 
>    PR fortran/20779
>    PR fortran/20891
>    * resolve.c (find_sym_in_expr): New function that returns true
>    if a symbol is found in an expression.
>    (resolve_allocate_expr): Check whether the STAT variable is
>    itself allocated in the same statement.  Use the call above to
>    check whether any of the allocated arrays are used in array
>    specifications in the same statement.
> 
> 2006-09-17 Paul Thomas <pault@gcc.gnu.org>
> 
>    PR fortran/20779
>    PR fortran/20891
>    * gfortran.dg/alloc_alloc_expr_1.f90: New test.


It appears as if you forgot to attach the patch.

-- 
Steve


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