Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-19 Thread Jerry DeLisle
On 10/19/2016 08:20 AM, Andreas Schwab wrote: On Okt 19 2016, Jerry DeLisle wrote: Could you try compiling manually the failing test with gfortran -static and then run it to see what happens. That does not change anything. Also what target is this failing on. aarch64 and m68k. Andreas.

Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-19 Thread Andreas Schwab
On Okt 19 2016, Jerry DeLisle wrote: > Could you try compiling manually the failing test with gfortran -static > and then run it to see what happens. That does not change anything. > Also what target is this failing on. aarch64 and m68k. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de

Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-19 Thread Andreas Schwab
On Okt 19 2016, Jerry DeLisle wrote: > The patch changes nothing related to any particular target. If I were to > hazard a guess I would think the tests are linking against a wrong version > of the library, the follow on patch (not yet committed) is bumping the > libgfortran major version number.

Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-19 Thread Jerry DeLisle
On 10/19/2016 04:04 AM, Andreas Schwab wrote: At line 74 of file /opt/gcc/gcc-20161019/gcc/testsuite/gfortran.dg/dtio_17.f90 (unit = 28, file = '/tmp/gfortrantmpQF10b7') Fortran runtime error: Bad value during integer read Error termination. Backtrace: FAIL: gfortran.dg/dtio_17.f90 -O1 execu

Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-19 Thread Jerry DeLisle
On 10/19/2016 01:59 AM, Christophe Lyon wrote: Hi, On 18 October 2016 at 04:45, Steve Kargl wrote: On Mon, Oct 17, 2016 at 06:02:52PM -0700, Jerry DeLisle wrote: Hi all, The attached patch enables the size= specifier in a READ statement to work with child DTIO procedures. This is accomplish

Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-19 Thread Andreas Schwab
At line 74 of file /opt/gcc/gcc-20161019/gcc/testsuite/gfortran.dg/dtio_17.f90 (unit = 28, file = '/tmp/gfortrantmpQF10b7') Fortran runtime error: Bad value during integer read Error termination. Backtrace: FAIL: gfortran.dg/dtio_17.f90 -O1 execution test Andreas. -- Andreas Schwab, SUSE La

Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-19 Thread Christophe Lyon
Hi, On 18 October 2016 at 04:45, Steve Kargl wrote: > On Mon, Oct 17, 2016 at 06:02:52PM -0700, Jerry DeLisle wrote: >> Hi all, >> >> The attached patch enables the size= specifier in a READ statement to work >> with >> child DTIO procedures. This is accomplished by moving the size_used variabl

Re: [patch, gfortran] PR48298 DTIO, implement size=

2016-10-17 Thread Steve Kargl
On Mon, Oct 17, 2016 at 06:02:52PM -0700, Jerry DeLisle wrote: > Hi all, > > The attached patch enables the size= specifier in a READ statement to work > with > child DTIO procedures. This is accomplished by moving the size_used variable > from the dtp structure to the gfc_unit structure so tha

[patch, gfortran] PR48298 DTIO, implement size=

2016-10-17 Thread Jerry DeLisle
Hi all, The attached patch enables the size= specifier in a READ statement to work with child DTIO procedures. This is accomplished by moving the size_used variable from the dtp structure to the gfc_unit structure so that the accumulation of bytes during READ is carried across the procedures v