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: [Fortran, patch, pr68218, v1] ALLOCATE with size given by a module function


Dear Andre,

OK for trunk.

I understand that you have investigated the issue(s) reported to you
by Dominique and can find no sign of them.

Thanks

Paul

On 5 November 2015 at 15:29, Andre Vehreschild <vehre@gmx.de> wrote:
> Hi all,
>
> attached is a rather trivial patch to prevent multiple evaluations of a
> function in:
>
>   allocate( array(func()) )
>
> The patch tests whether the upper bound of the array is a function
> and calls gfc_evaluate_now().
>
> Bootstrapped and regtested for x86_64-linux-gnu/f21.
>
> Ok for trunk?
>
> Regards,
>         Andre
> --
> Andre Vehreschild * Email: vehre ad gmx dot de



-- 
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.

Groucho Marx


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