[PATCH, Fortran, pr79344, v1] [7 Regression] segmentation faults and run-time errors
Andre Vehreschild
vehre@gmx.de
Sun Feb 5 15:45:00 GMT 2017
Hi Mikael,
thanks for the fast review. Committed as r245193.
Regards,
Andre
On Sun, 5 Feb 2017 15:32:25 +0100
Mikael Morin <morin-mikael@orange.fr> wrote:
> Le 04/02/2017 à 19:43, Andre Vehreschild a écrit :
> > Hi all,
> >
> > attached patch fixes the issue of losing the data in the SOURCE= expression
> > of an ALLOCATE() when the source-expression is just a simple variable. The
> > issue was that internally a temporary variable was created, whose
> > components were freed afterwards. Now the components are only freed on
> > temporary objects, i.e., when the source-expression is not an
> > EXPR_VARIABLE, e.g. an EXPR_STRUCTURE or EXPR_FUNCTION.
> >
> > Bootstraps and regtests ok on x86_64-linux/f25. Ok for trunk?
> >
> Hello,
>
> this looks good to me.
> Thanks
>
> Mikael
>
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 6601 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170205/64894d5a/attachment.bin>
More information about the Fortran
mailing list