[patch, libgfortran] PR107031 - endfile truncates file at wrong position

2024-03-25 Thread Jerry D
Hi all, There has been a bit of discussio on which way to go on this. I took a look today and this trivial patch gives the behavior concluded on Fortran Discourse. See the bugzilla for all the relevant information. Regresion tested on x86-64. I will do the appropriate changelog. OK for

Re: Aw: Re: Invalid "dg-do run" in the testsuite (with 2 blanks)

2024-03-25 Thread Jerry D
On 3/25/24 3:30 PM, Harald Anlauf wrote: On 3/25/24 12:53 PM, Harald Anlauf wrote: I noticed by chance that we have quite a lot of improperly specified do-do directives in the testsuite. % grep "dg-do  run" gcc/testsuite/gfortran.dg/ -rl|wc -l 83 I think this is on purpose. The idea to use

Aw: Re: Invalid "dg-do run" in the testsuite (with 2 blanks)

2024-03-25 Thread Harald Anlauf
> On 3/25/24 12:53 PM, Harald Anlauf wrote: > > I noticed by chance that we have quite a lot of improperly specified > > do-do > > directives in the testsuite. > > > > % grep "dg-do  run" gcc/testsuite/gfortran.dg/ -rl|wc -l > > 83 > > > >>> > >>> I think this is on

Re: Invalid "dg-do run" in the testsuite (with 2 blanks)

2024-03-25 Thread Jerry D
On 3/25/24 12:53 PM, Harald Anlauf wrote: I noticed by chance that we have quite a lot of improperly specified do-do directives in the testsuite. % grep "dg-do  run" gcc/testsuite/gfortran.dg/ -rl|wc -l 83 I think this is on purpose. The idea to use a "feature" in dejagnu to only iterate

Re: Invalid "dg-do run" in the testsuite (with 2 blanks)

2024-03-25 Thread Harald Anlauf
> >>> I noticed by chance that we have quite a lot of improperly specified do-do > >>> directives in the testsuite. > >>> > >>> % grep "dg-do  run" gcc/testsuite/gfortran.dg/ -rl|wc -l > >>> 83 > >>> > > > > I think this is on purpose. > > The idea to use a "feature" in dejagnu to only iterate

Re: gfortran wiki

2024-03-25 Thread Paul Richard Thomas
Hi Harald, Yes, that's a good idea. I'll take a look tomorrow morning to see what I think needs doing and then let's put heads together. Regards Paul On Sun, 24 Mar 2024 at 20:23, Harald Anlauf wrote: > Dear all, > > the gfortran wiki (https://gcc.gnu.org/wiki/GFortran) seems to have been >

Re: Invalid "dg-do run" in the testsuite (with 2 blanks)

2024-03-25 Thread Jerry D
On 3/25/24 1:27 AM, Manfred Schwarb wrote: Am 25.03.24 um 05:53 schrieb Jerry D: On 3/24/24 1:19 PM, Harald Anlauf wrote: Dear all, I noticed by chance that we have quite a lot of improperly specified do-do directives in the testsuite. % grep "dg-do  run" gcc/testsuite/gfortran.dg/ -rl|wc -l

Re: Invalid "dg-do run" in the testsuite (with 2 blanks)

2024-03-25 Thread Manfred Schwarb
Am 25.03.24 um 05:53 schrieb Jerry D: > On 3/24/24 1:19 PM, Harald Anlauf wrote: >> Dear all, >> >> I noticed by chance that we have quite a lot of improperly specified do-do >> directives in the testsuite. >> >> % grep "dg-do  run" gcc/testsuite/gfortran.dg/ -rl|wc -l >> 83 >> I think this is on