[patch, fortran] PR77828 Linking gfortran-7 compiled program with libgfortran of 5.x allowed but crashes

Jerry DeLisle jvdelisle@charter.net
Mon Oct 24 12:42:00 GMT 2016


On 10/18/2016 04:48 PM, Jerry DeLisle wrote:
> Hi Folks,
>
> The attached patch does some minor cleanup and bumps the libgfortran version
> number.  I have wanted to reorder the dtp structure for many years now. Not
> strictly needed but it has bugged me forever.
>
> The bump is needed because of the significant changes from implementation of DTIO.
>

--- snip ---

Revised patch. Changed a single byte char to int for better memory alignment on 
32 bit boundaries. Regression tested on x86-64-linux, FreeBSD, and Power8.

I plan to commit this to trunk sometime today.

>
> Regression tested on x86-64-linux.
>
> OK for trunk?
>
> Regards,
>
> Jerry
>
> 2016-10-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
>
>     PR fortran/77828
>     * io/io.h (st_parameter_dt): Reorder for readability and sanity.
>     * io/transfer.c (data_transfer_init): Remove TODO and enable the
>     runtime error message, rec= specifier not allowed in STREAM
>     access.
>     * libtool-version: Bump major version of libgfortran to 4.
>
> 2016-10-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
>
>     PR fortran/77828
>     * ioparm.def: Reorder dt parameters to match libgfortran.
>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 4717 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161024/507b735f/attachment.bin>


More information about the Fortran mailing list