[Fortran, Patch, pr77663, v1] libgfortran/caf/single.c: three minor problems and a lost token

Paul Richard Thomas paul.richard.thomas@gmail.com
Sat Oct 1 12:42:00 GMT 2016


Hi Andre,

It looks fine to me - OK for trunk.

Thanks for the patch

Paul

On 1 October 2016 at 13:30, Andre Vehreschild <vehre@gmx.de> wrote:
> Hi all,
>
> attached patch fixes some issue in caf/single.c that were reported as pure
> style issues, but uncovered at least one significant error when handling sending
> data to a remote image when the memory and associated token was not allocated
> yet. The send_by_ref-routine stored the new token only on the stack when the
> component to allocate was scalar which lead to crashes, when that token was
> later on accessed. Furthermore was the memory and the token lost. This patch
> fixes the issue.
>
> Bootstraps and regtests ok on x86_64-linux/F23. Ok for trunk?
>
> Regards,
>         Andre
> --
> Andre Vehreschild * Email: vehre ad gmx dot de



-- 
The difference between genius and stupidity is; genius has its limits.

Albert Einstein



More information about the Fortran mailing list